Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 109.5 kB / 19.73 MB, free: 2.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 216 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.056/3.056, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003003/0.003003, allocations: 63.02 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3658, allocations: 179 MB / 1.345 GB, free: 392 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2131/0.579, allocations: 183 MB / 1.524 GB, free: 8.645 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.5965, allocations: 11.08 MB / 1.535 GB, free: 13.53 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.5999, allocations: 127 kB / 1.535 GB, free: 13.41 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.005854/0.6057, allocations: 2.044 MB / 1.537 GB, free: 11.35 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.6108, allocations: 1.698 MB / 1.539 GB, free: 9.645 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.6133, allocations: 0.8415 MB / 1.54 GB, free: 8.809 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.005334/0.6187, allocations: 3.179 MB / 1.543 GB, free: 5.625 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.6207, allocations: 0.8328 MB / 1.544 GB, free: 4.758 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.6239, allocations: 1.33 MB / 1.545 GB, free: 3.422 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.6272, allocations: 1.142 MB / 1.546 GB, free: 2.277 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0005785/0.6278, allocations: 128 kB / 1.546 GB, free: 2.152 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.6304, allocations: 0.9823 MB / 1.547 GB, free: 1.168 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0008381/0.6312, allocations: 497.9 kB / 1.547 GB, free: 0.6797 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.6334, allocations: 1.095 MB / 1.549 GB, free: 15.57 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006111/0.6395, allocations: 3.502 MB / 1.552 GB, free: 12.06 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6396, allocations: 3.984 kB / 1.552 GB, free: 12.06 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6396, allocations: 0 / 1.552 GB, free: 12.06 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001149/0.6397, allocations: 0 / 1.552 GB, free: 12.06 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005698/0.6454, allocations: 2.819 MB / 1.555 GB, free: 9.195 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.6454, allocations: 8.031 kB / 1.555 GB, free: 9.188 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.634e-05/0.6455, allocations: 29.92 kB / 1.555 GB, free: 9.156 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.6456, allocations: 126.7 kB / 1.555 GB, free: 9.023 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.6472, allocations: 390.1 kB / 1.555 GB, free: 8.641 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.6508, allocations: 1.943 MB / 1.557 GB, free: 6.645 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.6509, allocations: 58 kB / 1.557 GB, free: 6.586 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.651, allocations: 84 kB / 1.557 GB, free: 6.504 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6525, allocations: 0.929 MB / 1.558 GB, free: 5.531 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.6526, allocations: 4 kB / 1.558 GB, free: 5.527 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.6526, allocations: 35.94 kB / 1.558 GB, free: 5.492 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.6527, allocations: 25 kB / 1.558 GB, free: 5.469 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.6538, allocations: 0.7063 MB / 1.559 GB, free: 4.762 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.6604, allocations: 4.411 MB / 1.563 GB, free: 144 kB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.661, allocations: 302.3 kB / 1.564 GB, free: 15.84 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.6612, allocations: 172.7 kB / 1.564 GB, free: 15.66 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.6614, allocations: 28.33 kB / 1.564 GB, free: 15.64 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.6614, allocations: 34.56 kB / 1.564 GB, free: 15.6 MB / 1.264 GB Notification: Performance of pre-optimization done (n=30): time 2.695e-06/0.6615, allocations: 0 / 1.564 GB, free: 15.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=32): time 0.00336/0.6648, allocations: 1.584 MB / 1.565 GB, free: 13.97 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.6649, allocations: 63.34 kB / 1.565 GB, free: 13.89 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/0.6687, allocations: 2.953 MB / 1.568 GB, free: 10.93 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.6688, allocations: 37.64 kB / 1.568 GB, free: 10.88 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6698, allocations: 1.067 MB / 1.569 GB, free: 9.809 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.67, allocations: 122.9 kB / 1.569 GB, free: 9.688 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.6701, allocations: 110.2 kB / 1.57 GB, free: 9.574 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6703, allocations: 325.9 kB / 1.57 GB, free: 9.25 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.6706, allocations: 173 kB / 1.57 GB, free: 9.082 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.671, allocations: 358.4 kB / 1.57 GB, free: 8.641 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.6732, allocations: 1.005 MB / 1.571 GB, free: 7.551 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6732, allocations: 8 kB / 1.571 GB, free: 7.543 MB / 1.264 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001377/0.6746, allocations: 0.7941 MB / 1.572 GB, free: 6.738 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6746, allocations: 11.94 kB / 1.572 GB, free: 6.727 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6746, allocations: 8 kB / 1.572 GB, free: 6.719 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.6748, allocations: 64.75 kB / 1.572 GB, free: 6.652 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.6752, allocations: 100.3 kB / 1.572 GB, free: 6.555 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.6769, allocations: 1.758 MB / 1.574 GB, free: 4.688 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009796/0.6779, allocations: 27.89 kB / 1.574 GB, free: 4.66 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.6779, allocations: 27.98 kB / 1.574 GB, free: 4.633 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001274/0.6792, allocations: 0.799 MB / 1.575 GB, free: 3.824 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.6796, allocations: 246.4 kB / 1.575 GB, free: 3.582 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.6802, allocations: 255.7 kB / 1.575 GB, free: 3.332 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6802, allocations: 8.062 kB / 1.575 GB, free: 3.324 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6802, allocations: 0 / 1.575 GB, free: 3.324 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007212/0.6809, allocations: 0.5977 MB / 1.576 GB, free: 2.656 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.6844, allocations: 2.02 MB / 1.578 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6845, allocations: 8.031 kB / 1.578 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.6848, allocations: 59.91 kB / 1.578 GB, free: 480 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/0.6849, allocations: 60.77 kB / 1.578 GB, free: 416 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.685, allocations: 11.98 kB / 1.578 GB, free: 404 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.6866, allocations: 1.758 MB / 1.58 GB, free: 14.52 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6866, allocations: 4 kB / 1.58 GB, free: 14.52 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.6879, allocations: 0.9409 MB / 1.581 GB, free: 13.52 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000817/0.6887, allocations: 351.4 kB / 1.581 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.689, allocations: 12 kB / 1.581 GB, free: 13.15 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006753/0.6897, allocations: 19.92 kB / 1.581 GB, free: 13.13 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.6898, allocations: 35.95 kB / 1.581 GB, free: 13.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.6898, allocations: 12 kB / 1.581 GB, free: 13.09 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00354/0.6933, allocations: 2.087 MB / 1.583 GB, free: 11 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6933, allocations: 0 / 1.583 GB, free: 11 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001153/0.6945, allocations: 296 kB / 1.583 GB, free: 10.71 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/0.6963, allocations: 1.55 MB / 1.585 GB, free: 9.086 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0009784/0.6973, allocations: 0.5151 MB / 1.585 GB, free: 8.559 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6973, allocations: 4 kB / 1.585 GB, free: 8.555 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.6977, allocations: 298.8 kB / 1.586 GB, free: 8.25 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/0.7014, allocations: 0.9399 MB / 1.587 GB, free: 7.336 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/0.7323, allocations: 17.16 MB / 1.603 GB, free: 5.758 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.7344, allocations: 1.957 MB / 1.605 GB, free: 3.766 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001382/0.7358, allocations: 342.8 kB / 1.606 GB, free: 3.426 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.7368, allocations: 0.8 MB / 1.606 GB, free: 2.625 MB / 1.295 GB Notification: Performance of SimCode: time 1.172e-06/0.7368, allocations: 0 / 1.606 GB, free: 2.625 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7574/1.494, allocations: 51.79 MB / 1.657 GB, free: 239.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.81, allocations: 12 kB / 1.657 GB, free: 239.2 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.81624249496963]