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.001496/0.001496, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001699/0.001699, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.04/3.04, allocations: 0.505 GB / 0.8108 GB, free: 22.02 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: 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_latest_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_latest_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.002022/0.002022, allocations: 71.64 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 180.2 MB / 1.354 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2101/0.5351, allocations: 183 MB / 1.533 GB, free: 108 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.5518, allocations: 11.1 MB / 1.544 GB, free: 4.977 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.5544, allocations: 127 kB / 1.544 GB, free: 4.852 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005459/0.5598, allocations: 2.04 MB / 1.546 GB, free: 2.801 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.5642, allocations: 1.706 MB / 1.548 GB, free: 1.086 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.5662, allocations: 0.8185 MB / 1.548 GB, free: 276 kB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.5702, allocations: 3.193 MB / 1.551 GB, free: 13.07 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.5713, allocations: 0.825 MB / 1.552 GB, free: 12.21 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.5732, allocations: 1.346 MB / 1.554 GB, free: 10.86 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.5752, allocations: 1.137 MB / 1.555 GB, free: 9.723 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.5754, allocations: 128 kB / 1.555 GB, free: 9.598 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.5772, allocations: 0.9862 MB / 1.556 GB, free: 8.609 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.5777, allocations: 489.9 kB / 1.556 GB, free: 8.129 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.5788, allocations: 1.091 MB / 1.557 GB, free: 7.031 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.5828, allocations: 3.513 MB / 1.561 GB, free: 3.504 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5828, allocations: 0 / 1.561 GB, free: 3.504 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5828, allocations: 0 / 1.561 GB, free: 3.504 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.5828, allocations: 0 / 1.561 GB, free: 3.504 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.003946/0.5868, allocations: 2.83 MB / 1.564 GB, free: 0.625 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5868, allocations: 8.031 kB / 1.564 GB, free: 0.6172 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.5881, allocations: 386.1 kB / 1.564 GB, free: 244 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.5914, allocations: 1.951 MB / 1.566 GB, free: 14.23 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.5914, allocations: 58 kB / 1.566 GB, free: 14.18 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.5915, allocations: 76 kB / 1.566 GB, free: 14.1 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.5929, allocations: 0.9445 MB / 1.567 GB, free: 13.12 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.593, allocations: 4 kB / 1.567 GB, free: 13.11 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.593, allocations: 35.94 kB / 1.567 GB, free: 13.08 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.5931, allocations: 28.94 kB / 1.567 GB, free: 13.05 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.5942, allocations: 0.6947 MB / 1.568 GB, free: 12.36 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.005717/0.5999, allocations: 4.411 MB / 1.572 GB, free: 7.73 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.6004, allocations: 308.6 kB / 1.572 GB, free: 7.422 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.6006, allocations: 172.6 kB / 1.572 GB, free: 7.25 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.6008, allocations: 23.98 kB / 1.572 GB, free: 7.227 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.6008, allocations: 30.56 kB / 1.572 GB, free: 7.188 MB / 1.264 GB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.6008, allocations: 4 kB / 1.572 GB, free: 7.184 MB / 1.264 GB Notification: Performance of matching and sorting (n=32): time 0.002804/0.6036, allocations: 1.584 MB / 1.574 GB, free: 5.555 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.6037, allocations: 63.34 kB / 1.574 GB, free: 5.48 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.6074, allocations: 2.945 MB / 1.577 GB, free: 2.52 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.6074, allocations: 37.7 kB / 1.577 GB, free: 2.477 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.6084, allocations: 1.071 MB / 1.578 GB, free: 1.398 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6085, allocations: 119 kB / 1.578 GB, free: 1.281 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.6087, allocations: 106.2 kB / 1.578 GB, free: 1.172 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6088, allocations: 329.9 kB / 1.578 GB, free: 0.8438 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.6091, allocations: 161.1 kB / 1.579 GB, free: 0.6875 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.6095, allocations: 374.3 kB / 1.579 GB, free: 236 kB / 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.002088/0.6116, allocations: 0.9995 MB / 1.58 GB, free: 15.14 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6116, allocations: 7.938 kB / 1.58 GB, free: 15.14 MB / 1.279 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00114/0.6128, allocations: 0.8058 MB / 1.581 GB, free: 14.32 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6128, allocations: 8 kB / 1.581 GB, free: 14.31 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6128, allocations: 8 kB / 1.581 GB, free: 14.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.613, allocations: 56.83 kB / 1.581 GB, free: 14.25 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.6134, allocations: 103.8 kB / 1.581 GB, free: 14.14 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.615, allocations: 1.754 MB / 1.583 GB, free: 12.28 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.6157, allocations: 36 kB / 1.583 GB, free: 12.25 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.6158, allocations: 31.88 kB / 1.583 GB, free: 12.21 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.0009792/0.6167, allocations: 0.7919 MB / 1.583 GB, free: 11.41 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.617, allocations: 246.4 kB / 1.584 GB, free: 11.17 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.6174, allocations: 251.7 kB / 1.584 GB, free: 10.93 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.6174, allocations: 4.094 kB / 1.584 GB, free: 10.92 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6174, allocations: 4 kB / 1.584 GB, free: 10.92 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007185/0.6181, allocations: 0.6053 MB / 1.585 GB, free: 10.24 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.621, allocations: 2.017 MB / 1.587 GB, free: 8.125 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.621, allocations: 4.406 kB / 1.587 GB, free: 8.121 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.6213, allocations: 67.91 kB / 1.587 GB, free: 8.055 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.6215, allocations: 60.81 kB / 1.587 GB, free: 7.992 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.6215, allocations: 8 kB / 1.587 GB, free: 7.984 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.6231, allocations: 1.758 MB / 1.588 GB, free: 6.113 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6231, allocations: 4.031 kB / 1.588 GB, free: 6.109 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.6242, allocations: 0.9358 MB / 1.589 GB, free: 5.113 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/0.6249, allocations: 359.4 kB / 1.59 GB, free: 4.754 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.6251, allocations: 15.98 kB / 1.59 GB, free: 4.738 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.6256, allocations: 8 kB / 1.59 GB, free: 4.73 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.6257, allocations: 39.89 kB / 1.59 GB, free: 4.691 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.6257, allocations: 16 kB / 1.59 GB, free: 4.676 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002683/0.6284, allocations: 2.091 MB / 1.592 GB, free: 2.582 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6284, allocations: 3.938 kB / 1.592 GB, free: 2.578 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008966/0.6293, allocations: 296 kB / 1.592 GB, free: 2.289 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.0002792/0.6295, allocations: 155.7 kB / 1.592 GB, free: 2.129 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0008556/0.6304, allocations: 0.5152 MB / 1.593 GB, free: 1.602 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6304, allocations: 0 / 1.593 GB, free: 1.602 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.6308, allocations: 298.8 kB / 1.593 GB, free: 1.297 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.6339, allocations: 0.938 MB / 1.594 GB, free: 388 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.6396, allocations: 4.021 MB / 1.598 GB, free: 12.27 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.6411, allocations: 1.823 MB / 1.6 GB, free: 10.42 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.6413, allocations: 103.4 kB / 1.6 GB, free: 10.32 MB / 1.295 GB Notification: Performance of SimCode: time 6.72e-07/0.6413, allocations: 0 / 1.6 GB, free: 10.32 MB / 1.295 GB Notification: Performance of Templates: time 0.6765/1.318, allocations: 43.37 MB / 1.642 GB, free: 241.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 800] 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: 17.21563667600276]