Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 190.7 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.053/2.053, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4768, allocations: 140.4 MB / 0.949 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002099/0.479, allocations: 1.508 MB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.4801, allocations: 0.9171 MB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.4801, allocations: 0 / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.4803, allocations: 10.67 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.4807, allocations: 106.6 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.4808, allocations: 84.23 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.4809, allocations: 84.27 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.481, allocations: 7.031 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.481, allocations: 36.16 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.4811, allocations: 46.64 kB / 0.9518 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.4812, allocations: 2.375 kB / 0.9518 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.4815, allocations: 221.2 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.4815, allocations: 56.09 kB / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.4816, allocations: 54.11 kB / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.4819, allocations: 283.9 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4819, allocations: 1.344 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.22e-07/0.4819, allocations: 0 / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.4819, allocations: 0 / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005116/0.4824, allocations: 0.4892 MB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.4825, allocations: 13.84 kB / 0.9529 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.984e-05/0.4825, allocations: 34.75 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.4825, allocations: 17.03 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.483, allocations: 0.6534 MB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.483, allocations: 384 / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.483, allocations: 10.66 kB / 0.9536 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4832, allocations: 75.31 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.4832, allocations: 0 / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.4832, allocations: 1.25 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.4832, allocations: 0 / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.4834, allocations: 85.39 kB / 0.9537 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.4836, allocations: 323 kB / 0.954 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.4838, allocations: 119.6 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.4839, allocations: 45.86 kB / 0.9542 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.484, allocations: 28.33 kB / 0.9542 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.484, allocations: 35.44 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.484, allocations: 0 / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003445/0.4843, allocations: 166.5 kB / 0.9544 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.4844, allocations: 52.47 kB / 0.9544 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.4849, allocations: 0.7766 MB / 0.9552 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.4849, allocations: 26.77 kB / 0.9552 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.4849, allocations: 125.5 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.4849, allocations: 9.297 kB / 0.9554 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.485, allocations: 18 kB / 0.9554 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.485, allocations: 328.4 kB / 0.9557 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.4851, allocations: 36.66 kB / 0.9557 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.4852, allocations: 70.47 kB / 0.9558 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.4854, allocations: 97.34 kB / 0.9559 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4854, allocations: 0 / 0.9559 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002139/0.4856, allocations: 134.2 kB / 0.956 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4856, allocations: 4.719 kB / 0.956 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4856, allocations: 4.031 kB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.4856, allocations: 0.7188 kB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.4857, allocations: 11.77 kB / 0.956 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.4857, allocations: 3.984 kB / 0.956 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.592e-05/0.4858, allocations: 10.73 kB / 0.956 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.4858, allocations: 1.094 kB / 0.956 GB, free: 4.203 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/0.4859, allocations: 140.3 kB / 0.9562 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.4859, allocations: 15.69 kB / 0.9562 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.4862, allocations: 136.8 kB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.4862, allocations: 5.141 kB / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4862, allocations: 3.938 kB / 0.9563 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4862, allocations: 1.125 kB / 0.9563 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.4863, allocations: 231.6 kB / 0.9566 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4863, allocations: 0 / 0.9566 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.4864, allocations: 10.86 kB / 0.9566 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4864, allocations: 1.375 kB / 0.9566 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.4864, allocations: 4 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4864, allocations: 0 / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4864, allocations: 1.375 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.4866, allocations: 162.8 kB / 0.9567 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4867, allocations: 105.1 kB / 0.9568 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.4867, allocations: 0 / 0.9568 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.4868, allocations: 9.5 kB / 0.9568 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.4868, allocations: 5.359 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4868, allocations: 1.375 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004162/0.4872, allocations: 0.6172 MB / 0.9574 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4872, allocations: 1.125 kB / 0.9574 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002878/0.4875, allocations: 72.3 kB / 0.9575 GB, free: 3.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005031/0.488, allocations: 0.7484 MB / 0.9582 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.4883, allocations: 82.59 kB / 0.9583 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4883, allocations: 0 / 0.9583 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.4884, allocations: 48.05 kB / 0.9584 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.4886, allocations: 20.38 kB / 0.9584 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.4911, allocations: 3.327 MB / 0.9616 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.4913, allocations: 0.7203 MB / 0.9623 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.4914, allocations: 28.62 kB / 0.9624 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.4915, allocations: 46.55 kB / 0.9624 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.4915, allocations: 1.344 kB / 0.9624 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.505, allocations: 4.34 MB / 0.9667 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.5052, allocations: 225.6 kB / 0.9669 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.079, allocations: 2.125 kB / 0.9669 GB, free: 13.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches