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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.908/2.908, allocations: 496 MB / 0.7835 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 67.86 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2933, allocations: 173.6 MB / 1.307 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1999/0.4931, allocations: 180.1 MB / 1.483 GB, free: 12.88 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.5096, allocations: 11.06 MB / 1.494 GB, free: 1.797 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.5119, allocations: 127 kB / 1.494 GB, free: 1.672 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005468/0.5174, allocations: 2.048 MB / 1.496 GB, free: 15.61 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004475/0.5219, allocations: 1.693 MB / 1.498 GB, free: 13.91 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.5241, allocations: 0.8331 MB / 1.499 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004421/0.5285, allocations: 3.178 MB / 1.502 GB, free: 9.891 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.5298, allocations: 0.8289 MB / 1.503 GB, free: 9.031 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.5319, allocations: 1.33 MB / 1.504 GB, free: 7.695 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.5339, allocations: 1.159 MB / 1.505 GB, free: 6.539 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.5342, allocations: 128 kB / 1.505 GB, free: 6.414 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.536, allocations: 0.9667 MB / 1.506 GB, free: 5.445 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.5365, allocations: 497.8 kB / 1.507 GB, free: 4.957 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.5378, allocations: 1.095 MB / 1.508 GB, free: 3.855 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004469/0.5423, allocations: 3.49 MB / 1.511 GB, free: 360 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5423, allocations: 4 kB / 1.511 GB, free: 356 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5423, allocations: 0 / 1.511 GB, free: 356 kB / 1.201 GB Notification: Performance of Transformations before backend: time 3.682e-05/0.5423, allocations: 4 kB / 1.511 GB, free: 352 kB / 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.004033/0.5463, allocations: 2.827 MB / 1.514 GB, free: 13.46 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5464, allocations: 8.922 kB / 1.514 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.5477, allocations: 386 kB / 1.514 GB, free: 13.08 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.5509, allocations: 1.936 MB / 1.516 GB, free: 11.09 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.551, allocations: 58 kB / 1.516 GB, free: 11.03 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.5511, allocations: 76 kB / 1.516 GB, free: 10.95 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.5526, allocations: 0.9446 MB / 1.517 GB, free: 9.965 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.5526, allocations: 4 kB / 1.517 GB, free: 9.961 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.5527, allocations: 32 kB / 1.517 GB, free: 9.93 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.5527, allocations: 28.94 kB / 1.517 GB, free: 9.902 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5539, allocations: 0.6986 MB / 1.518 GB, free: 9.203 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.005974/0.5599, allocations: 4.418 MB / 1.522 GB, free: 4.578 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.5604, allocations: 294.7 kB / 1.522 GB, free: 4.281 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.5606, allocations: 172.8 kB / 1.523 GB, free: 4.109 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.5608, allocations: 24 kB / 1.523 GB, free: 4.086 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5608, allocations: 38.48 kB / 1.523 GB, free: 4.039 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.5608, allocations: 0 / 1.523 GB, free: 4.039 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.002838/0.5636, allocations: 1.596 MB / 1.524 GB, free: 2.398 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5637, allocations: 55.41 kB / 1.524 GB, free: 2.332 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003752/0.5674, allocations: 2.945 MB / 1.527 GB, free: 15.37 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.5675, allocations: 33.7 kB / 1.527 GB, free: 15.33 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.5685, allocations: 1.067 MB / 1.528 GB, free: 14.26 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.5686, allocations: 126.9 kB / 1.528 GB, free: 14.13 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.5688, allocations: 114.2 kB / 1.528 GB, free: 14.01 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5689, allocations: 326 kB / 1.529 GB, free: 13.69 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.5692, allocations: 161.1 kB / 1.529 GB, free: 13.53 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.5696, allocations: 370.4 kB / 1.529 GB, free: 13.08 MB / 1.232 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.002095/0.5717, allocations: 0.9987 MB / 1.53 GB, free: 12 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5717, allocations: 7.938 kB / 1.53 GB, free: 11.99 MB / 1.232 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00119/0.5729, allocations: 0.8137 MB / 1.531 GB, free: 11.17 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5729, allocations: 12.12 kB / 1.531 GB, free: 11.16 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5729, allocations: 8 kB / 1.531 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.5731, allocations: 60.77 kB / 1.531 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.5735, allocations: 107.8 kB / 1.531 GB, free: 10.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.5751, allocations: 1.762 MB / 1.533 GB, free: 9.109 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.5758, allocations: 23.98 kB / 1.533 GB, free: 9.086 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.5758, allocations: 27.94 kB / 1.533 GB, free: 9.059 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.000987/0.5768, allocations: 0.8014 MB / 1.534 GB, free: 8.25 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.5771, allocations: 250.3 kB / 1.534 GB, free: 8.004 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.5775, allocations: 251.7 kB / 1.534 GB, free: 7.75 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5775, allocations: 4 kB / 1.534 GB, free: 7.746 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5775, allocations: 0 / 1.534 GB, free: 7.746 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007073/0.5782, allocations: 0.597 MB / 1.535 GB, free: 7.078 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.5811, allocations: 2.027 MB / 1.537 GB, free: 4.949 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5811, allocations: 4 kB / 1.537 GB, free: 4.945 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.5814, allocations: 63.91 kB / 1.537 GB, free: 4.883 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.5815, allocations: 60.88 kB / 1.537 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.5815, allocations: 16.41 kB / 1.537 GB, free: 4.805 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.5831, allocations: 1.75 MB / 1.539 GB, free: 2.941 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5831, allocations: 7.984 kB / 1.539 GB, free: 2.934 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.5842, allocations: 0.9292 MB / 1.54 GB, free: 1.945 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/0.5849, allocations: 351.5 kB / 1.54 GB, free: 1.602 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.5851, allocations: 15.98 kB / 1.54 GB, free: 1.586 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.5856, allocations: 9.016 kB / 1.54 GB, free: 1.578 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.5857, allocations: 35.83 kB / 1.54 GB, free: 1.543 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.5857, allocations: 16 kB / 1.54 GB, free: 1.527 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002916/0.5886, allocations: 2.091 MB / 1.542 GB, free: 15.43 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5886, allocations: 0 / 1.542 GB, free: 15.43 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009175/0.5895, allocations: 303.9 kB / 1.542 GB, free: 15.13 MB / 1.248 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.0004149/0.5899, allocations: 169.2 kB / 1.543 GB, free: 14.97 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009209/0.5909, allocations: 0.5161 MB / 1.543 GB, free: 14.44 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5909, allocations: 1.688 kB / 1.543 GB, free: 14.44 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.5913, allocations: 299.2 kB / 1.543 GB, free: 14.14 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.5943, allocations: 0.9489 MB / 1.544 GB, free: 13.21 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.6003, allocations: 4.211 MB / 1.548 GB, free: 8.918 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.602, allocations: 1.957 MB / 1.55 GB, free: 6.926 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009252/0.6029, allocations: 342.8 kB / 1.551 GB, free: 6.586 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.6031, allocations: 103.4 kB / 1.551 GB, free: 6.484 MB / 1.248 GB Notification: Performance of SimCode: time 5.31e-07/0.6031, allocations: 4 kB / 1.551 GB, free: 6.48 MB / 1.248 GB Notification: Performance of Templates: time 0.05132/0.6544, allocations: 30.45 MB / 1.58 GB, free: 8.48 MB / 1.279 GB " [Timeout remaining time 299] 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/jenkins/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: 8.760175382718444]