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.001738/0.001738, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002115/0.002115, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 8.008 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.03/3.03, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_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.001957/0.001957, allocations: 70.17 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 180.2 MB / 1.353 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2215/0.5614, allocations: 183 MB / 1.532 GB, free: 0.625 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.5805, allocations: 11.09 MB / 1.543 GB, free: 5.5 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.5837, allocations: 127 kB / 1.543 GB, free: 5.375 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00637/0.5901, allocations: 2.04 MB / 1.545 GB, free: 3.324 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.5954, allocations: 1.702 MB / 1.546 GB, free: 1.613 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.5981, allocations: 0.8385 MB / 1.547 GB, free: 0.7773 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005476/0.6036, allocations: 3.185 MB / 1.55 GB, free: 13.58 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.6055, allocations: 0.8289 MB / 1.551 GB, free: 12.72 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.6084, allocations: 1.338 MB / 1.552 GB, free: 11.38 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.6112, allocations: 1.147 MB / 1.553 GB, free: 10.23 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005184/0.6117, allocations: 128 kB / 1.554 GB, free: 10.11 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.6142, allocations: 0.9823 MB / 1.555 GB, free: 9.121 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008431/0.6151, allocations: 489.9 kB / 1.555 GB, free: 8.641 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.6171, allocations: 1.095 MB / 1.556 GB, free: 7.539 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006009/0.6231, allocations: 3.498 MB / 1.56 GB, free: 4.027 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6231, allocations: 0 / 1.56 GB, free: 4.027 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.697e-06/0.6231, allocations: 7.984 kB / 1.56 GB, free: 4.02 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001245/0.6233, allocations: 0 / 1.56 GB, free: 4.02 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.006049/0.6293, allocations: 2.828 MB / 1.562 GB, free: 1.145 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.6294, allocations: 8.031 kB / 1.562 GB, free: 1.137 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/0.6296, allocations: 130.7 kB / 1.562 GB, free: 1 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.6314, allocations: 386 kB / 1.563 GB, free: 0.6211 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.6361, allocations: 1.951 MB / 1.565 GB, free: 14.62 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.6361, allocations: 58 kB / 1.565 GB, free: 14.56 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.6363, allocations: 79.94 kB / 1.565 GB, free: 14.48 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.6381, allocations: 0.9368 MB / 1.566 GB, free: 13.5 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.6381, allocations: 7.938 kB / 1.566 GB, free: 13.5 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.6382, allocations: 32 kB / 1.566 GB, free: 13.46 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.6383, allocations: 32.94 kB / 1.566 GB, free: 13.43 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.6396, allocations: 0.6947 MB / 1.566 GB, free: 12.74 MB / 1.264 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.007796/0.6474, allocations: 4.407 MB / 1.571 GB, free: 8.117 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.6479, allocations: 302.6 kB / 1.571 GB, free: 7.812 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.6482, allocations: 178.8 kB / 1.571 GB, free: 7.637 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.6484, allocations: 16 kB / 1.571 GB, free: 7.621 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.6484, allocations: 42.55 kB / 1.571 GB, free: 7.57 MB / 1.264 GB Notification: Performance of pre-optimization done (n=30): time 3.326e-06/0.6484, allocations: 0 / 1.571 GB, free: 7.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=32): time 0.003872/0.6523, allocations: 1.592 MB / 1.573 GB, free: 5.934 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.6524, allocations: 51.41 kB / 1.573 GB, free: 5.871 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005477/0.6578, allocations: 2.945 MB / 1.576 GB, free: 2.91 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/0.6579, allocations: 33.7 kB / 1.576 GB, free: 2.871 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.6592, allocations: 1.075 MB / 1.577 GB, free: 1.789 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.6593, allocations: 123 kB / 1.577 GB, free: 1.668 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.6595, allocations: 114.2 kB / 1.577 GB, free: 1.551 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6597, allocations: 326 kB / 1.577 GB, free: 1.227 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.66, allocations: 165.1 kB / 1.578 GB, free: 1.066 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.6605, allocations: 370.3 kB / 1.578 GB, free: 0.6133 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.002274/0.6628, allocations: 1.003 MB / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6628, allocations: 0 / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001621/0.6644, allocations: 0.8101 MB / 1.58 GB, free: 14.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6644, allocations: 8.031 kB / 1.58 GB, free: 14.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6644, allocations: 8 kB / 1.58 GB, free: 14.69 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.6646, allocations: 56.83 kB / 1.58 GB, free: 14.63 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.665, allocations: 103.8 kB / 1.58 GB, free: 14.53 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.6669, allocations: 1.75 MB / 1.582 GB, free: 12.67 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6679, allocations: 39.86 kB / 1.582 GB, free: 12.63 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.668, allocations: 24.06 kB / 1.582 GB, free: 12.61 MB / 1.279 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.001323/0.6693, allocations: 0.7939 MB / 1.582 GB, free: 11.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005019/0.6698, allocations: 246.4 kB / 1.583 GB, free: 11.56 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/0.6704, allocations: 255.7 kB / 1.583 GB, free: 11.31 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.6704, allocations: 4 kB / 1.583 GB, free: 11.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.6705, allocations: 4.219 kB / 1.583 GB, free: 11.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007754/0.6712, allocations: 0.6055 MB / 1.583 GB, free: 10.62 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.6753, allocations: 2.02 MB / 1.585 GB, free: 8.504 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6753, allocations: 7.938 kB / 1.585 GB, free: 8.496 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.6756, allocations: 63.91 kB / 1.586 GB, free: 8.434 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.6758, allocations: 57.22 kB / 1.586 GB, free: 8.375 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.6758, allocations: 16 kB / 1.586 GB, free: 8.359 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.6776, allocations: 1.757 MB / 1.587 GB, free: 6.488 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.6776, allocations: 7.938 kB / 1.587 GB, free: 6.48 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.679, allocations: 0.9319 MB / 1.588 GB, free: 5.488 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009601/0.6799, allocations: 347.4 kB / 1.589 GB, free: 5.141 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/0.6803, allocations: 19.98 kB / 1.589 GB, free: 5.121 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.681, allocations: 12.12 kB / 1.589 GB, free: 5.109 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.6811, allocations: 35.83 kB / 1.589 GB, free: 5.074 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.6811, allocations: 20.06 kB / 1.589 GB, free: 5.055 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00376/0.6849, allocations: 2.091 MB / 1.591 GB, free: 2.961 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.6849, allocations: 0 / 1.591 GB, free: 2.961 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001302/0.6862, allocations: 300 kB / 1.591 GB, free: 2.668 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.002081/0.6883, allocations: 1.543 MB / 1.592 GB, free: 1.055 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.6894, allocations: 0.5163 MB / 1.593 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.6894, allocations: 0 / 1.593 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.6899, allocations: 299.7 kB / 1.593 GB, free: 228 kB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/0.694, allocations: 0.9478 MB / 1.594 GB, free: 15.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6642/1.358, allocations: 17.15 MB / 1.611 GB, free: 249.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/1.36, allocations: 1.956 MB / 1.613 GB, free: 248.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001276/1.361, allocations: 335.5 kB / 1.613 GB, free: 248.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009103/1.362, allocations: 0.8018 MB / 1.614 GB, free: 248.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.463e-06/1.362, allocations: 1.062 kB / 1.614 GB, free: 248.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.49, allocations: 51.78 MB / 1.664 GB, free: 224.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/16.16, allocations: 12.89 kB / 1.665 GB, free: 224.4 MB / 1.295 GB " [Timeout remaining time 284] (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: 22.704938014037907]