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.001585/0.001585, allocations: 115.5 kB / 17.13 MB, free: 6.027 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.001866/0.001866, allocations: 209.8 kB / 20.1 MB, free: 3.074 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.624/1.624, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.037/3.037, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002019/0.002019, allocations: 75.88 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291/1.293, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2689/1.561, allocations: 182.8 MB / 1.501 GB, free: 1.484 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02496/1.586, allocations: 11.06 MB / 1.511 GB, free: 7.5 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005508/1.592, allocations: 127 kB / 1.511 GB, free: 7.375 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006834/1.599, allocations: 2.017 MB / 1.513 GB, free: 5.348 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006456/1.605, allocations: 1.676 MB / 1.515 GB, free: 3.664 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/1.608, allocations: 0.7912 MB / 1.516 GB, free: 2.875 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006193/1.614, allocations: 3.136 MB / 1.519 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/1.616, allocations: 1.043 MB / 1.52 GB, free: 14.66 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/1.619, allocations: 1.33 MB / 1.521 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/1.621, allocations: 1.14 MB / 1.522 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003653/1.622, allocations: 124 kB / 1.522 GB, free: 12.06 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/1.624, allocations: 0.9706 MB / 1.523 GB, free: 11.09 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005686/1.625, allocations: 489.9 kB / 1.524 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/1.626, allocations: 1.099 MB / 1.525 GB, free: 9.5 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005686/1.632, allocations: 3.513 MB / 1.528 GB, free: 5.973 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.632, allocations: 0 / 1.528 GB, free: 5.973 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.494e-06/1.632, allocations: 0 / 1.528 GB, free: 5.973 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.819e-05/1.632, allocations: 0 / 1.528 GB, free: 5.973 MB / 1.201 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.005057/1.637, allocations: 2.89 MB / 1.531 GB, free: 3.016 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.637, allocations: 15.98 kB / 1.531 GB, free: 3 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.639, allocations: 386 kB / 1.532 GB, free: 2.621 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/1.643, allocations: 2.05 MB / 1.534 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/1.643, allocations: 62 kB / 1.534 GB, free: 456 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.643, allocations: 79.98 kB / 1.534 GB, free: 376 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/1.645, allocations: 0.9406 MB / 1.535 GB, free: 15.38 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/1.645, allocations: 4 kB / 1.535 GB, free: 15.38 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/1.645, allocations: 32 kB / 1.535 GB, free: 15.35 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/1.645, allocations: 28.94 kB / 1.535 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/1.646, allocations: 0.6986 MB / 1.535 GB, free: 14.62 MB / 1.217 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.007286/1.654, allocations: 4.457 MB / 1.54 GB, free: 9.953 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/1.654, allocations: 306.6 kB / 1.54 GB, free: 9.645 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/1.654, allocations: 174.5 kB / 1.54 GB, free: 9.473 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/1.655, allocations: 97.09 kB / 1.54 GB, free: 9.359 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.655, allocations: 34.56 kB / 1.54 GB, free: 9.316 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 4.518e-06/1.655, allocations: 3.984 kB / 1.54 GB, free: 9.312 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003541/1.658, allocations: 1.737 MB / 1.542 GB, free: 7.496 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.658, allocations: 55.41 kB / 1.542 GB, free: 7.43 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/1.663, allocations: 2.957 MB / 1.545 GB, free: 4.457 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.663, allocations: 33.7 kB / 1.545 GB, free: 4.418 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001394/1.664, allocations: 1.063 MB / 1.546 GB, free: 3.348 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/1.664, allocations: 126.9 kB / 1.546 GB, free: 3.223 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/1.665, allocations: 106.2 kB / 1.546 GB, free: 3.113 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0003013/1.665, allocations: 326 kB / 1.547 GB, free: 2.789 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/1.665, allocations: 165 kB / 1.547 GB, free: 2.625 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/1.666, allocations: 378.8 kB / 1.547 GB, free: 2.172 MB / 1.217 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.002337/1.668, allocations: 1.076 MB / 1.548 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.668, allocations: 7.938 kB / 1.548 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001595/1.67, allocations: 0.8058 MB / 1.549 GB, free: 172 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.67, allocations: 8 kB / 1.549 GB, free: 164 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.67, allocations: 4 kB / 1.549 GB, free: 160 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/1.67, allocations: 64.81 kB / 1.549 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/1.67, allocations: 103.9 kB / 1.549 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/1.672, allocations: 1.853 MB / 1.551 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.673, allocations: 36.12 kB / 1.551 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/1.673, allocations: 27.94 kB / 1.551 GB, free: 13.94 MB / 1.232 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.001387/1.675, allocations: 0.7906 MB / 1.552 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/1.675, allocations: 246.4 kB / 1.552 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/1.676, allocations: 251.7 kB / 1.552 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.676, allocations: 0 / 1.552 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.676, allocations: 4 kB / 1.552 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008314/1.676, allocations: 0.6089 MB / 1.553 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/1.68, allocations: 2.048 MB / 1.555 GB, free: 9.805 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.68, allocations: 4 kB / 1.555 GB, free: 9.801 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/1.68, allocations: 68.31 kB / 1.555 GB, free: 9.734 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/1.68, allocations: 56.81 kB / 1.555 GB, free: 9.676 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/1.68, allocations: 12 kB / 1.555 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.683, allocations: 1.857 MB / 1.557 GB, free: 7.668 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.683, allocations: 7.938 kB / 1.557 GB, free: 7.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/1.684, allocations: 0.934 MB / 1.558 GB, free: 6.668 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/1.685, allocations: 427.4 kB / 1.558 GB, free: 6.23 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/1.685, allocations: 8 kB / 1.558 GB, free: 6.223 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/1.686, allocations: 19.94 kB / 1.558 GB, free: 6.203 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.686, allocations: 35.91 kB / 1.558 GB, free: 6.168 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/1.686, allocations: 16 kB / 1.558 GB, free: 6.152 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003342/1.689, allocations: 2.083 MB / 1.56 GB, free: 4.066 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/1.689, allocations: 0 / 1.56 GB, free: 4.066 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001186/1.691, allocations: 300 kB / 1.561 GB, free: 3.773 MB / 1.232 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.0003667/1.691, allocations: 163 kB / 1.561 GB, free: 3.605 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009789/1.692, allocations: 0.4997 MB / 1.561 GB, free: 3.094 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.692, allocations: 4 kB / 1.561 GB, free: 3.09 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000434/1.692, allocations: 302.9 kB / 1.561 GB, free: 2.781 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003895/1.696, allocations: 0.9451 MB / 1.562 GB, free: 1.859 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/1.703, allocations: 4.011 MB / 1.566 GB, free: 13.76 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/1.705, allocations: 1.82 MB / 1.568 GB, free: 11.91 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/1.705, allocations: 107.4 kB / 1.568 GB, free: 11.8 MB / 1.248 GB Notification: Performance of SimCode: time 8.81e-07/1.705, allocations: 4 kB / 1.568 GB, free: 11.8 MB / 1.248 GB Notification: Performance of Templates: time 0.07017/1.776, allocations: 43.36 MB / 1.611 GB, free: 0.6406 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] 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.91292152699316]