Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001633/0.001633, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.001782/0.001782, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.078/3.078, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",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.001919/0.001919, allocations: 70.34 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.34, allocations: 176.1 MB / 1.321 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2065/0.5465, allocations: 182.8 MB / 1.499 GB, free: 11.71 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.5639, allocations: 11.05 MB / 1.51 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.567, allocations: 127 kB / 1.51 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005719/0.5727, allocations: 2.013 MB / 1.512 GB, free: 14.49 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.5776, allocations: 1.682 MB / 1.514 GB, free: 12.8 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.5799, allocations: 0.7875 MB / 1.515 GB, free: 12.01 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004625/0.5845, allocations: 3.141 MB / 1.518 GB, free: 8.863 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.586, allocations: 1.043 MB / 1.519 GB, free: 7.789 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.5883, allocations: 1.327 MB / 1.52 GB, free: 6.457 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.5906, allocations: 1.146 MB / 1.521 GB, free: 5.309 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.5909, allocations: 128 kB / 1.521 GB, free: 5.184 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.5929, allocations: 0.9667 MB / 1.522 GB, free: 4.215 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005362/0.5934, allocations: 485.9 kB / 1.523 GB, free: 3.738 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.5947, allocations: 1.091 MB / 1.524 GB, free: 2.641 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004772/0.5995, allocations: 3.514 MB / 1.527 GB, free: 15.11 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5995, allocations: 0 / 1.527 GB, free: 15.11 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5995, allocations: 0 / 1.527 GB, free: 15.11 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.574e-05/0.5996, allocations: 3.938 kB / 1.527 GB, free: 15.11 MB / 1.232 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.004425/0.604, allocations: 2.89 MB / 1.53 GB, free: 12.15 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.604, allocations: 11.98 kB / 1.53 GB, free: 12.14 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.6042, allocations: 126.7 kB / 1.53 GB, free: 12.01 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.6057, allocations: 394 kB / 1.531 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/0.6091, allocations: 2.047 MB / 1.533 GB, free: 9.512 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.6092, allocations: 58 kB / 1.533 GB, free: 9.453 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6093, allocations: 76 kB / 1.533 GB, free: 9.379 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6108, allocations: 0.9368 MB / 1.534 GB, free: 8.402 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6108, allocations: 3.938 kB / 1.534 GB, free: 8.398 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.6109, allocations: 32 kB / 1.534 GB, free: 8.367 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.6109, allocations: 28.94 kB / 1.534 GB, free: 8.34 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.612, allocations: 0.7064 MB / 1.534 GB, free: 7.633 MB / 1.232 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.006379/0.6184, allocations: 4.461 MB / 1.539 GB, free: 2.957 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.619, allocations: 306.7 kB / 1.539 GB, free: 2.652 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.6192, allocations: 172.8 kB / 1.539 GB, free: 2.48 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.6194, allocations: 93.09 kB / 1.539 GB, free: 2.371 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6194, allocations: 38.56 kB / 1.539 GB, free: 2.324 MB / 1.232 GB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/0.6194, allocations: 3.938 kB / 1.539 GB, free: 2.32 MB / 1.232 GB Notification: Performance of matching and sorting (n=32): time 0.003547/0.623, allocations: 1.744 MB / 1.541 GB, free: 0.4961 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.623, allocations: 55.41 kB / 1.541 GB, free: 440 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/0.6279, allocations: 2.953 MB / 1.544 GB, free: 13.46 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.628, allocations: 29.7 kB / 1.544 GB, free: 13.42 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.6291, allocations: 1.067 MB / 1.545 GB, free: 12.35 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.6293, allocations: 122.9 kB / 1.545 GB, free: 12.23 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.6295, allocations: 110.1 kB / 1.545 GB, free: 12.12 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6296, allocations: 330 kB / 1.546 GB, free: 11.79 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.6299, allocations: 165 kB / 1.546 GB, free: 11.62 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.6304, allocations: 370.8 kB / 1.546 GB, free: 11.18 MB / 1.248 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.002308/0.6327, allocations: 1.076 MB / 1.547 GB, free: 9.996 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6327, allocations: 0 / 1.547 GB, free: 9.996 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001525/0.6342, allocations: 0.8136 MB / 1.548 GB, free: 9.172 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6343, allocations: 8 kB / 1.548 GB, free: 9.164 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6343, allocations: 4 kB / 1.548 GB, free: 9.16 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.6345, allocations: 60.83 kB / 1.548 GB, free: 9.098 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.6349, allocations: 103.8 kB / 1.548 GB, free: 8.996 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.6367, allocations: 1.861 MB / 1.55 GB, free: 7 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6378, allocations: 34.02 kB / 1.55 GB, free: 6.969 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.6378, allocations: 24 kB / 1.55 GB, free: 6.945 MB / 1.248 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.001255/0.6391, allocations: 0.7941 MB / 1.551 GB, free: 6.141 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/0.6396, allocations: 246.4 kB / 1.551 GB, free: 5.898 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.6402, allocations: 251.7 kB / 1.551 GB, free: 5.652 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6402, allocations: 4 kB / 1.551 GB, free: 5.648 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.6402, allocations: 0 / 1.551 GB, free: 5.648 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007968/0.641, allocations: 0.6128 MB / 1.552 GB, free: 4.965 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.645, allocations: 2.041 MB / 1.554 GB, free: 2.816 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.645, allocations: 4 kB / 1.554 GB, free: 2.812 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.6453, allocations: 64.31 kB / 1.554 GB, free: 2.75 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.6455, allocations: 64.81 kB / 1.554 GB, free: 2.684 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.6456, allocations: 8 kB / 1.554 GB, free: 2.676 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.6473, allocations: 1.857 MB / 1.556 GB, free: 0.6797 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.6473, allocations: 15.81 kB / 1.556 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.6488, allocations: 0.9319 MB / 1.557 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/0.6497, allocations: 423.4 kB / 1.557 GB, free: 15.24 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.6501, allocations: 8 kB / 1.557 GB, free: 15.23 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.6509, allocations: 18.22 kB / 1.557 GB, free: 15.21 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6509, allocations: 35.91 kB / 1.557 GB, free: 15.18 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.651, allocations: 16 kB / 1.557 GB, free: 15.16 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003737/0.6547, allocations: 2.083 MB / 1.559 GB, free: 13.08 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6547, allocations: 0 / 1.559 GB, free: 13.08 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001282/0.656, allocations: 303.9 kB / 1.559 GB, free: 12.78 MB / 1.264 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.001958/0.6579, allocations: 1.558 MB / 1.561 GB, free: 11.15 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.659, allocations: 0.5076 MB / 1.562 GB, free: 10.63 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.659, allocations: 1.688 kB / 1.562 GB, free: 10.63 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.6594, allocations: 299.2 kB / 1.562 GB, free: 10.33 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004099/0.6635, allocations: 0.9365 MB / 1.563 GB, free: 9.414 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/0.6928, allocations: 17.15 MB / 1.579 GB, free: 7.836 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/0.6952, allocations: 1.961 MB / 1.581 GB, free: 5.84 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001193/0.6964, allocations: 338.8 kB / 1.582 GB, free: 5.504 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.6976, allocations: 0.8039 MB / 1.582 GB, free: 4.699 MB / 1.279 GB Notification: Performance of SimCode: time 1.202e-06/0.6976, allocations: 0 / 1.582 GB, free: 4.699 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.77/1.468, allocations: 51.37 MB / 1.633 GB, free: 265.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/15.16, allocations: 7.969 kB / 1.633 GB, free: 265.1 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.78734026500024]