Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.001657/0.001657, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001864/0.001864, allocations: 215.4 kB / 22.25 MB, free: 5.098 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.801 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.208/3.208, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [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.002194/0.002194, allocations: 67.11 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 176.1 MB / 1.326 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1837/0.5265, allocations: 138.5 MB / 1.461 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02892/0.5554, allocations: 19.7 MB / 1.48 GB, free: 3.23 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.5576, allocations: 79.38 kB / 1.48 GB, free: 3.152 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.5596, allocations: 1.169 MB / 1.481 GB, free: 1.98 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.5617, allocations: 0.9107 MB / 1.482 GB, free: 1.066 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.5629, allocations: 386.9 kB / 1.483 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.5648, allocations: 1.282 MB / 1.484 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008256/0.5656, allocations: 0.5352 MB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007935/0.5664, allocations: 0.5724 MB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.5676, allocations: 0.98 MB / 1.486 GB, free: 13.3 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.5677, allocations: 64 kB / 1.486 GB, free: 13.24 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.568, allocations: 115.9 kB / 1.486 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.5683, allocations: 332.6 kB / 1.486 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.5687, allocations: 385.5 kB / 1.487 GB, free: 12.42 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.5702, allocations: 1.225 MB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5702, allocations: 0 / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5702, allocations: 0 / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.5702, allocations: 0 / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002595/0.5728, allocations: 1.51 MB / 1.489 GB, free: 9.645 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5728, allocations: 8.031 kB / 1.489 GB, free: 9.637 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.573, allocations: 147.9 kB / 1.489 GB, free: 9.492 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009569/0.574, allocations: 0.6064 MB / 1.49 GB, free: 8.844 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.5742, allocations: 100.4 kB / 1.49 GB, free: 8.734 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5743, allocations: 48 kB / 1.49 GB, free: 8.688 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009984/0.5753, allocations: 0.5184 MB / 1.491 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.5753, allocations: 0 / 1.491 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.5753, allocations: 23.98 kB / 1.491 GB, free: 8.133 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.5753, allocations: 12 kB / 1.491 GB, free: 8.121 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009047/0.5763, allocations: 415.7 kB / 1.491 GB, free: 7.715 MB / 1.186 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.0035/0.5798, allocations: 1.841 MB / 1.493 GB, free: 5.828 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.5809, allocations: 432.4 kB / 1.493 GB, free: 5.398 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.5815, allocations: 273.8 kB / 1.494 GB, free: 5.129 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.5815, allocations: 8.328 kB / 1.494 GB, free: 5.121 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006122/0.5821, allocations: 298.5 kB / 1.494 GB, free: 4.82 MB / 1.186 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.5821, allocations: 0 / 1.494 GB, free: 4.82 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003125/0.5852, allocations: 1.108 MB / 1.495 GB, free: 3.699 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.5853, allocations: 63.39 kB / 1.495 GB, free: 3.625 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.5873, allocations: 1.759 MB / 1.497 GB, free: 1.855 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.5874, allocations: 41.7 kB / 1.497 GB, free: 1.809 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/0.5878, allocations: 0.522 MB / 1.497 GB, free: 1.281 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.588, allocations: 150.8 kB / 1.497 GB, free: 1.133 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.5882, allocations: 98.33 kB / 1.498 GB, free: 1.031 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5883, allocations: 326 kB / 1.498 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.5888, allocations: 225.1 kB / 1.498 GB, free: 496 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.5894, allocations: 333.8 kB / 1.498 GB, free: 120 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.5904, allocations: 0.5101 MB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.5904, allocations: 4 kB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001737/0.5922, allocations: 0.8543 MB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5922, allocations: 8 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5922, allocations: 0 / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.5928, allocations: 182.6 kB / 1.5 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.5931, allocations: 99.8 kB / 1.5 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.5969, allocations: 2.827 MB / 1.503 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.5974, allocations: 63.69 kB / 1.503 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.5974, allocations: 28 kB / 1.503 GB, free: 11.4 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005678/0.598, allocations: 392.8 kB / 1.503 GB, free: 11.01 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.5981, allocations: 123.1 kB / 1.503 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.5998, allocations: 0.7746 MB / 1.504 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.5998, allocations: 4 kB / 1.504 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5998, allocations: 4 kB / 1.504 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5998, allocations: 0 / 1.504 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.6024, allocations: 1.443 MB / 1.506 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6024, allocations: 0 / 1.506 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.6027, allocations: 51.97 kB / 1.506 GB, free: 8.551 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/0.6032, allocations: 199.6 kB / 1.506 GB, free: 8.352 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.6032, allocations: 12 kB / 1.506 GB, free: 8.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/0.608, allocations: 4.259 MB / 1.51 GB, free: 3.879 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.608, allocations: 4.062 kB / 1.51 GB, free: 3.875 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.6101, allocations: 1.091 MB / 1.511 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.6105, allocations: 147.1 kB / 1.511 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.6106, allocations: 15.98 kB / 1.511 GB, free: 2.605 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.6109, allocations: 27.97 kB / 1.511 GB, free: 2.578 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.6111, allocations: 56.33 kB / 1.511 GB, free: 2.52 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.6111, allocations: 12 kB / 1.511 GB, free: 2.508 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001573/0.6127, allocations: 1.284 MB / 1.513 GB, free: 1.219 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6127, allocations: 0 / 1.513 GB, free: 1.219 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008663/0.6135, allocations: 215.7 kB / 1.513 GB, free: 1.008 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00204/0.6156, allocations: 0.5038 MB / 1.513 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.6172, allocations: 0.7077 MB / 1.514 GB, free: 0 / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6172, allocations: 0 / 1.514 GB, free: 0 / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.6182, allocations: 0.5428 MB / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.6192, allocations: 202.5 kB / 1.515 GB, free: 15.24 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.6231, allocations: 2.425 MB / 1.517 GB, free: 12.78 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.6238, allocations: 0.5622 MB / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.6241, allocations: 84.58 kB / 1.518 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.6242, allocations: 43.44 kB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of SimCode: time 9.72e-07/0.6242, allocations: 0 / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of Templates: time 0.02289/0.6471, allocations: 12.15 MB / 1.53 GB, free: 112 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: 10.449391769245267]