Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.00131/0.00131, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.001405/0.001405, allocations: 154 kB / 23 MB, free: 4.973 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] 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.638/2.638, allocations: 359.1 MB / 0.6044 GB, free: 14.8 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.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [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.002224/0.002224, allocations: 67.91 kB / 0.9515 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2787, allocations: 169.9 MB / 1.117 GB, free: 2.504 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.6348/0.9135, allocations: 138.5 MB / 1.253 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02668/0.9402, allocations: 19.71 MB / 1.272 GB, free: 4.902 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.9421, allocations: 74.28 kB / 1.272 GB, free: 4.863 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.9438, allocations: 1.165 MB / 1.273 GB, free: 4.656 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.9455, allocations: 0.9183 MB / 1.274 GB, free: 4.348 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.9465, allocations: 385 kB / 1.274 GB, free: 4.129 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.948, allocations: 1.275 MB / 1.276 GB, free: 3.586 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007498/0.9488, allocations: 0.5402 MB / 1.276 GB, free: 3.371 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007698/0.9496, allocations: 0.5721 MB / 1.277 GB, free: 3.172 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.9508, allocations: 0.9818 MB / 1.278 GB, free: 2.969 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.9509, allocations: 66.62 kB / 1.278 GB, free: 2.969 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.9512, allocations: 114 kB / 1.278 GB, free: 2.953 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.9515, allocations: 323.3 kB / 1.278 GB, free: 2.809 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.9519, allocations: 383.7 kB / 1.279 GB, free: 2.582 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.9533, allocations: 1.232 MB / 1.28 GB, free: 2.086 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9533, allocations: 0 / 1.28 GB, free: 2.086 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9533, allocations: 3.938 kB / 1.28 GB, free: 2.082 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.9533, allocations: 1.469 kB / 1.28 GB, free: 2.082 MB / 1.123 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.002498/0.9558, allocations: 1.495 MB / 1.281 GB, free: 1.09 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.9558, allocations: 9.594 kB / 1.281 GB, free: 1.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.956, allocations: 141.5 kB / 1.281 GB, free: 1.016 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009232/0.9569, allocations: 0.6143 MB / 1.282 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.9571, allocations: 107.1 kB / 1.282 GB, free: 496 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.9572, allocations: 48.19 kB / 1.282 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.9582, allocations: 0.5265 MB / 1.283 GB, free: 248 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.9582, allocations: 0 / 1.283 GB, free: 248 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.9583, allocations: 17.16 kB / 1.283 GB, free: 236 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.9583, allocations: 11.05 kB / 1.283 GB, free: 236 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000878/0.9592, allocations: 421.4 kB / 1.283 GB, free: 96 kB / 1.123 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.003299/0.9625, allocations: 1.768 MB / 1.285 GB, free: 15.17 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009973/0.9634, allocations: 422 kB / 1.285 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/0.9641, allocations: 287.8 kB / 1.285 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.9642, allocations: 8.203 kB / 1.285 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005965/0.9647, allocations: 279.8 kB / 1.286 GB, free: 14.8 MB / 1.139 GB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.9648, allocations: 0 / 1.286 GB, free: 14.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=44): time 0.002703/0.9675, allocations: 1.004 MB / 1.287 GB, free: 14.43 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.9675, allocations: 69.78 kB / 1.287 GB, free: 14.36 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.9695, allocations: 1.771 MB / 1.288 GB, free: 13.78 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.9696, allocations: 42.83 kB / 1.289 GB, free: 13.73 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.9701, allocations: 0.5222 MB / 1.289 GB, free: 13.32 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.9702, allocations: 154.2 kB / 1.289 GB, free: 13.2 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.9704, allocations: 101.5 kB / 1.289 GB, free: 13.14 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9705, allocations: 327.4 kB / 1.29 GB, free: 12.83 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.9711, allocations: 217.9 kB / 1.29 GB, free: 12.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.9717, allocations: 339.5 kB / 1.29 GB, free: 12.56 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.9727, allocations: 0.5289 MB / 1.291 GB, free: 12.25 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9727, allocations: 1.188 kB / 1.291 GB, free: 12.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001657/0.9743, allocations: 0.8069 MB / 1.291 GB, free: 11.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.9744, allocations: 6.812 kB / 1.291 GB, free: 11.92 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.9744, allocations: 12.38 kB / 1.291 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004302/0.9748, allocations: 141.1 kB / 1.292 GB, free: 11.87 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.9752, allocations: 104.3 kB / 1.292 GB, free: 11.86 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.9782, allocations: 2.449 MB / 1.294 GB, free: 9.957 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.9786, allocations: 82.08 kB / 1.294 GB, free: 9.914 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.9787, allocations: 21.83 kB / 1.294 GB, free: 9.91 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004841/0.9792, allocations: 385.3 kB / 1.295 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.9793, allocations: 121.7 kB / 1.295 GB, free: 9.648 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.9808, allocations: 0.717 MB / 1.295 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9808, allocations: 4.438 kB / 1.295 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9808, allocations: 7 kB / 1.295 GB, free: 9.352 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9808, allocations: 1.969 kB / 1.295 GB, free: 9.352 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.9833, allocations: 1.365 MB / 1.297 GB, free: 8.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9833, allocations: 7.938 kB / 1.297 GB, free: 8.699 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.9835, allocations: 50.47 kB / 1.297 GB, free: 8.695 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.9839, allocations: 164.1 kB / 1.297 GB, free: 8.641 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.9839, allocations: 14.52 kB / 1.297 GB, free: 8.633 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004062/0.988, allocations: 3.966 MB / 1.301 GB, free: 5.277 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.988, allocations: 0 / 1.301 GB, free: 5.277 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.9898, allocations: 1.014 MB / 1.302 GB, free: 4.789 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.9901, allocations: 142.9 kB / 1.302 GB, free: 4.699 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.494e-05/0.9902, allocations: 8.906 kB / 1.302 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.9905, allocations: 30.02 kB / 1.302 GB, free: 4.688 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.9906, allocations: 59.02 kB / 1.302 GB, free: 4.676 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.9907, allocations: 20.31 kB / 1.302 GB, free: 4.672 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001435/0.9921, allocations: 1.293 MB / 1.303 GB, free: 4.23 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9921, allocations: 0 / 1.303 GB, free: 4.23 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007731/0.9929, allocations: 204.9 kB / 1.303 GB, free: 4.191 MB / 1.139 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,12,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.001947/0.9948, allocations: 0.4994 MB / 1.304 GB, free: 3.996 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.9962, allocations: 0.6532 MB / 1.305 GB, free: 3.699 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9962, allocations: 0 / 1.305 GB, free: 3.699 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008805/0.997, allocations: 0.5139 MB / 1.305 GB, free: 3.336 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.998, allocations: 201.9 kB / 1.305 GB, free: 3.223 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/1.002, allocations: 2.404 MB / 1.308 GB, free: 1.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/1.002, allocations: 0.5693 MB / 1.308 GB, free: 1.598 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002486/1.002, allocations: 90.17 kB / 1.308 GB, free: 1.562 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/1.003, allocations: 47.89 kB / 1.308 GB, free: 1.547 MB / 1.139 GB Notification: Performance of SimCode: time 3.8e-07/1.003, allocations: 0 / 1.308 GB, free: 1.547 MB / 1.139 GB Notification: Performance of Templates: time 0.01944/1.022, allocations: 10.35 MB / 1.318 GB, free: 9.711 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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: 130.93125769810285]