Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.001651/0.001651, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001871/0.001871, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.122/3.122, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") [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.002067/0.002067, allocations: 75.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.2178/1.391, allocations: 161.5 MB / 1.48 GB, free: 2.66 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03387/1.425, allocations: 22.26 MB / 1.501 GB, free: 464 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/1.428, allocations: 84.69 kB / 1.501 GB, free: 420 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002431/1.431, allocations: 1.388 MB / 1.503 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/1.433, allocations: 1.083 MB / 1.504 GB, free: 14.96 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/1.435, allocations: 0.5582 MB / 1.504 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003078/1.438, allocations: 1.719 MB / 1.506 GB, free: 12.67 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/1.44, allocations: 0.799 MB / 1.507 GB, free: 11.85 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/1.441, allocations: 0.7592 MB / 1.508 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/1.443, allocations: 1.315 MB / 1.509 GB, free: 9.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/1.443, allocations: 92 kB / 1.509 GB, free: 9.68 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/1.443, allocations: 144 kB / 1.509 GB, free: 9.539 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004123/1.444, allocations: 428 kB / 1.509 GB, free: 9.121 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000687/1.445, allocations: 0.6597 MB / 1.51 GB, free: 8.457 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/1.447, allocations: 1.636 MB / 1.512 GB, free: 6.816 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.447, allocations: 0 / 1.512 GB, free: 6.816 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.814e-06/1.447, allocations: 0 / 1.512 GB, free: 6.816 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.886e-05/1.447, allocations: 0 / 1.512 GB, free: 6.816 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003428/1.45, allocations: 1.988 MB / 1.514 GB, free: 4.77 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.45, allocations: 19.97 kB / 1.514 GB, free: 4.75 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/1.45, allocations: 195.7 kB / 1.514 GB, free: 4.559 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/1.452, allocations: 0.912 MB / 1.515 GB, free: 3.602 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/1.452, allocations: 90.98 kB / 1.515 GB, free: 3.504 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.452, allocations: 71.94 kB / 1.515 GB, free: 3.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/1.454, allocations: 0.7177 MB / 1.516 GB, free: 2.688 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/1.454, allocations: 7.938 kB / 1.516 GB, free: 2.68 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/1.454, allocations: 24 kB / 1.516 GB, free: 2.656 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/1.454, allocations: 16 kB / 1.516 GB, free: 2.641 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/1.455, allocations: 0.5399 MB / 1.516 GB, free: 2.098 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.005447/1.46, allocations: 3.626 MB / 1.52 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.462, allocations: 0.5651 MB / 1.52 GB, free: 13.62 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/1.463, allocations: 347.9 kB / 1.521 GB, free: 13.28 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/1.463, allocations: 12.55 kB / 1.521 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008057/1.464, allocations: 386.8 kB / 1.521 GB, free: 12.88 MB / 1.201 GB Notification: Performance of pre-optimization done (n=65): time 2.895e-06/1.464, allocations: 0 / 1.521 GB, free: 12.88 MB / 1.201 GB Notification: Performance of matching and sorting (n=65): time 0.005573/1.469, allocations: 1.774 MB / 1.523 GB, free: 11.05 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/1.469, allocations: 63.97 kB / 1.523 GB, free: 10.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/1.472, allocations: 2.292 MB / 1.525 GB, free: 8.684 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.411e-05/1.472, allocations: 37.7 kB / 1.525 GB, free: 8.641 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007277/1.473, allocations: 0.7311 MB / 1.526 GB, free: 7.906 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/1.473, allocations: 222.2 kB / 1.526 GB, free: 7.688 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.474, allocations: 130.7 kB / 1.526 GB, free: 7.555 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.474, allocations: 333.9 kB / 1.526 GB, free: 7.223 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/1.474, allocations: 277.8 kB / 1.527 GB, free: 6.949 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008268/1.475, allocations: 422.8 kB / 1.527 GB, free: 6.488 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/1.477, allocations: 0.6688 MB / 1.528 GB, free: 5.766 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.477, allocations: 0 / 1.528 GB, free: 5.766 MB / 1.201 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002708/1.479, allocations: 1.118 MB / 1.529 GB, free: 4.637 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.479, allocations: 8 kB / 1.529 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.479, allocations: 4 kB / 1.529 GB, free: 4.625 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009269/1.48, allocations: 265.6 kB / 1.529 GB, free: 4.363 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/1.481, allocations: 127.7 kB / 1.529 GB, free: 4.238 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006441/1.487, allocations: 3.708 MB / 1.533 GB, free: 404 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/1.488, allocations: 87.52 kB / 1.533 GB, free: 316 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/1.488, allocations: 24 kB / 1.533 GB, free: 292 kB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008313/1.489, allocations: 463.9 kB / 1.533 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/1.489, allocations: 170.9 kB / 1.534 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/1.49, allocations: 183.9 kB / 1.534 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/1.49, allocations: 8 kB / 1.534 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.49, allocations: 7.922 kB / 1.534 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.49, allocations: 0 / 1.534 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/1.494, allocations: 2.042 MB / 1.536 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.494, allocations: 3.938 kB / 1.536 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/1.494, allocations: 59.89 kB / 1.536 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008821/1.495, allocations: 275.8 kB / 1.536 GB, free: 13.01 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/1.495, allocations: 15.98 kB / 1.536 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00733/1.502, allocations: 5.251 MB / 1.541 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.502, allocations: 0 / 1.541 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/1.505, allocations: 1.391 MB / 1.543 GB, free: 6.055 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/1.506, allocations: 279.8 kB / 1.543 GB, free: 5.762 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.506, allocations: 15.98 kB / 1.543 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/1.507, allocations: 35.97 kB / 1.543 GB, free: 5.711 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.507, allocations: 76.53 kB / 1.543 GB, free: 5.637 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/1.507, allocations: 16 kB / 1.543 GB, free: 5.621 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002193/1.509, allocations: 1.656 MB / 1.545 GB, free: 3.973 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.509, allocations: 0 / 1.545 GB, free: 3.973 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001199/1.51, allocations: 275.6 kB / 1.545 GB, free: 3.703 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/1.512, allocations: 0.4921 MB / 1.545 GB, free: 3.391 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002363/1.514, allocations: 0.8679 MB / 1.546 GB, free: 2.512 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.514, allocations: 0 / 1.546 GB, free: 2.512 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.516, allocations: 0.6557 MB / 1.547 GB, free: 1.828 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.517, allocations: 286.8 kB / 1.547 GB, free: 1.559 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/1.523, allocations: 3.232 MB / 1.55 GB, free: 14.29 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.524, allocations: 1.318 MB / 1.552 GB, free: 12.95 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/1.525, allocations: 63.42 kB / 1.552 GB, free: 12.88 MB / 1.232 GB Notification: Performance of SimCode: time 1.413e-06/1.525, allocations: 0 / 1.552 GB, free: 12.88 MB / 1.232 GB Notification: Performance of Templates: time 0.03721/1.562, allocations: 24.03 MB / 1.575 GB, free: 4.883 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time [Calling sys.exit(0), Time elapsed: 16.421636458995636]