Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001621/0.001621, allocations: 79.11 kB / 19.76 MB, free: 1.863 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.002222/0.002222, allocations: 158.4 kB / 23.01 MB, free: 4.613 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.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.745/2.745, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [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.003232/0.003232, allocations: 63.89 kB / 0.9516 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3187, allocations: 169.9 MB / 1.118 GB, free: 2.441 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7432/1.062, allocations: 157.9 MB / 1.272 GB, free: 5.352 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01837/1.08, allocations: 10.14 MB / 1.282 GB, free: 14.38 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/1.083, allocations: 131.3 kB / 1.282 GB, free: 14.31 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006194/1.09, allocations: 1.879 MB / 1.284 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005567/1.095, allocations: 1.678 MB / 1.285 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/1.098, allocations: 0.8089 MB / 1.286 GB, free: 12.02 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005282/1.103, allocations: 3.166 MB / 1.289 GB, free: 10.5 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/1.105, allocations: 0.9576 MB / 1.29 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/1.107, allocations: 1.201 MB / 1.291 GB, free: 9.488 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/1.11, allocations: 1.136 MB / 1.292 GB, free: 8.969 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003744/1.11, allocations: 127.7 kB / 1.292 GB, free: 8.969 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/1.113, allocations: 0.7982 MB / 1.293 GB, free: 8.695 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/1.113, allocations: 483.4 kB / 1.294 GB, free: 8.441 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.115, allocations: 0.8284 MB / 1.295 GB, free: 8.004 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005288/1.12, allocations: 3.487 MB / 1.298 GB, free: 6.684 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.12, allocations: 0 / 1.298 GB, free: 6.684 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.483e-06/1.12, allocations: 0 / 1.298 GB, free: 6.684 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.901e-05/1.12, allocations: 5.031 kB / 1.298 GB, free: 6.68 MB / 1.139 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.005519/1.125, allocations: 2.832 MB / 1.301 GB, free: 4.875 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.125, allocations: 8.688 kB / 1.301 GB, free: 4.875 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.127, allocations: 388.2 kB / 1.301 GB, free: 4.711 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/1.131, allocations: 1.943 MB / 1.303 GB, free: 3.695 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/1.131, allocations: 62.23 kB / 1.303 GB, free: 3.664 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.132, allocations: 77.39 kB / 1.303 GB, free: 3.637 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.133, allocations: 1.046 MB / 1.304 GB, free: 3.078 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/1.133, allocations: 1.125 kB / 1.304 GB, free: 3.078 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/1.133, allocations: 31.22 kB / 1.304 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/1.133, allocations: 26.52 kB / 1.304 GB, free: 3.055 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/1.135, allocations: 0.7054 MB / 1.305 GB, free: 2.777 MB / 1.139 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.006414/1.141, allocations: 3.47 MB / 1.308 GB, free: 232 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/1.141, allocations: 291.2 kB / 1.309 GB, free: 68 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/1.142, allocations: 174.9 kB / 1.309 GB, free: 15.98 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/1.142, allocations: 17.55 kB / 1.309 GB, free: 15.97 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/1.142, allocations: 45.59 kB / 1.309 GB, free: 15.93 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/1.142, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=32): time 0.003578/1.145, allocations: 1.571 MB / 1.31 GB, free: 14.91 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.146, allocations: 55.38 kB / 1.31 GB, free: 14.84 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/1.149, allocations: 2.746 MB / 1.313 GB, free: 13.44 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/1.15, allocations: 33.7 kB / 1.313 GB, free: 13.4 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.151, allocations: 1.063 MB / 1.314 GB, free: 12.47 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/1.151, allocations: 128 kB / 1.314 GB, free: 12.36 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/1.151, allocations: 106.3 kB / 1.314 GB, free: 12.3 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.151, allocations: 327.6 kB / 1.315 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/1.151, allocations: 163.8 kB / 1.315 GB, free: 11.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/1.152, allocations: 445.8 kB / 1.315 GB, free: 11.46 MB / 1.154 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.002123/1.154, allocations: 1.015 MB / 1.316 GB, free: 10.78 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.154, allocations: 0 / 1.316 GB, free: 10.78 MB / 1.154 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001328/1.155, allocations: 0.7864 MB / 1.317 GB, free: 10.35 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.155, allocations: 8.719 kB / 1.317 GB, free: 10.35 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.155, allocations: 11.03 kB / 1.317 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/1.155, allocations: 64.77 kB / 1.317 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/1.156, allocations: 101.3 kB / 1.317 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/1.157, allocations: 1.738 MB / 1.319 GB, free: 8.684 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.159, allocations: 29.12 kB / 1.319 GB, free: 8.668 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/1.159, allocations: 23.69 kB / 1.319 GB, free: 8.664 MB / 1.154 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.001336/1.16, allocations: 0.7953 MB / 1.32 GB, free: 8.16 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/1.16, allocations: 235.1 kB / 1.32 GB, free: 8.027 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/1.161, allocations: 234.9 kB / 1.32 GB, free: 7.898 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.161, allocations: 2.344 kB / 1.32 GB, free: 7.898 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.161, allocations: 6.219 kB / 1.32 GB, free: 7.895 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007907/1.161, allocations: 0.6048 MB / 1.321 GB, free: 7.262 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/1.165, allocations: 1.782 MB / 1.322 GB, free: 5.402 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.165, allocations: 4 kB / 1.322 GB, free: 5.398 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/1.165, allocations: 67.91 kB / 1.323 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/1.165, allocations: 60.7 kB / 1.323 GB, free: 5.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/1.165, allocations: 15.98 kB / 1.323 GB, free: 5.254 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/1.167, allocations: 1.723 MB / 1.324 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.167, allocations: 12.09 kB / 1.324 GB, free: 3.422 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/1.168, allocations: 0.9154 MB / 1.325 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/1.169, allocations: 331.6 kB / 1.326 GB, free: 2.121 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.169, allocations: 12 kB / 1.326 GB, free: 2.109 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/1.17, allocations: 11.98 kB / 1.326 GB, free: 2.098 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/1.17, allocations: 39.83 kB / 1.326 GB, free: 2.059 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/1.17, allocations: 12 kB / 1.326 GB, free: 2.047 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002957/1.173, allocations: 1.938 MB / 1.328 GB, free: 104 kB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.173, allocations: 0 / 1.328 GB, free: 104 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001248/1.174, allocations: 300 kB / 1.328 GB, free: 15.8 MB / 1.17 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.0003177/1.174, allocations: 143 kB / 1.328 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009498/1.175, allocations: 0.5225 MB / 1.328 GB, free: 15.12 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.175, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/1.176, allocations: 295.8 kB / 1.329 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/1.179, allocations: 0.8639 MB / 1.33 GB, free: 14.01 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007006/1.186, allocations: 4.177 MB / 1.334 GB, free: 9.746 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/1.188, allocations: 1.391 MB / 1.335 GB, free: 8.309 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001095/1.189, allocations: 313.3 kB / 1.335 GB, free: 7.996 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/1.189, allocations: 92.5 kB / 1.335 GB, free: 7.906 MB / 1.17 GB Notification: Performance of SimCode: time 7.52e-07/1.189, allocations: 4 kB / 1.335 GB, free: 7.902 MB / 1.17 GB Notification: Performance of Templates: time 0.0514/1.241, allocations: 29.07 MB / 1.364 GB, free: 11.51 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.374780618934892]