Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000807/0.000807, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007856/0.0007856, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.768/1.768, allocations: 389 MB / 0.6338 GB, free: 12.75 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.153e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.6341/0.6342, allocations: 139.4 MB / 1.137 GB, free: 13.21 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02346/0.6576, allocations: 20.09 MB / 1.157 GB, free: 15.37 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.6603, allocations: 85.5 kB / 1.157 GB, free: 15.33 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.6622, allocations: 1.397 MB / 1.158 GB, free: 15.06 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.6646, allocations: 1.107 MB / 1.159 GB, free: 14.66 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.6661, allocations: 0.5571 MB / 1.16 GB, free: 14.35 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002604/0.6687, allocations: 1.766 MB / 1.161 GB, free: 13.57 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.67, allocations: 0.769 MB / 1.162 GB, free: 13.23 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.6715, allocations: 0.9584 MB / 1.163 GB, free: 12.88 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.673, allocations: 1.198 MB / 1.164 GB, free: 12.67 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.6732, allocations: 93.19 kB / 1.164 GB, free: 12.67 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.6735, allocations: 146.7 kB / 1.165 GB, free: 12.65 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.6739, allocations: 432.4 kB / 1.165 GB, free: 12.43 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.6743, allocations: 385.3 kB / 1.165 GB, free: 12.25 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.6761, allocations: 1.646 MB / 1.167 GB, free: 11.6 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6761, allocations: 0 / 1.167 GB, free: 11.6 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6761, allocations: 0 / 1.167 GB, free: 11.6 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.143e-05/0.6762, allocations: 0 / 1.167 GB, free: 11.6 MB / 1.026 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.002845/0.679, allocations: 1.995 MB / 1.169 GB, free: 10.29 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.679, allocations: 11.11 kB / 1.169 GB, free: 10.29 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.6793, allocations: 202.5 kB / 1.169 GB, free: 10.18 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.6811, allocations: 1.381 MB / 1.17 GB, free: 9.473 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.6813, allocations: 116.2 kB / 1.171 GB, free: 9.383 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.6813, allocations: 77.48 kB / 1.171 GB, free: 9.352 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.6824, allocations: 0.7463 MB / 1.171 GB, free: 9 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6825, allocations: 1.156 kB / 1.171 GB, free: 9 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.6825, allocations: 27.25 kB / 1.171 GB, free: 8.98 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6825, allocations: 15.64 kB / 1.171 GB, free: 8.98 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008832/0.6834, allocations: 0.5465 MB / 1.172 GB, free: 8.801 MB / 1.026 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.003556/0.687, allocations: 2.51 MB / 1.174 GB, free: 7.391 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/0.6879, allocations: 0.5782 MB / 1.175 GB, free: 7.168 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.6885, allocations: 353.1 kB / 1.175 GB, free: 7.047 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.6885, allocations: 7.562 kB / 1.175 GB, free: 7.047 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005773/0.6891, allocations: 393.6 kB / 1.176 GB, free: 6.887 MB / 1.026 GB Notification: Performance of pre-optimization done (n=65): time 3.156e-06/0.6891, allocations: 0 / 1.176 GB, free: 6.887 MB / 1.026 GB Notification: Performance of matching and sorting (n=65): time 0.003373/0.6925, allocations: 1.673 MB / 1.177 GB, free: 6.375 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.6925, allocations: 67.86 kB / 1.177 GB, free: 6.305 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.6942, allocations: 1.565 MB / 1.179 GB, free: 5.797 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.6942, allocations: 41.55 kB / 1.179 GB, free: 5.754 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.6947, allocations: 0.7285 MB / 1.18 GB, free: 5.18 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.6948, allocations: 221.6 kB / 1.18 GB, free: 5.004 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.695, allocations: 127.9 kB / 1.18 GB, free: 4.938 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.6951, allocations: 338.2 kB / 1.18 GB, free: 4.617 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.6955, allocations: 282.5 kB / 1.181 GB, free: 4.527 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.6959, allocations: 420.4 kB / 1.181 GB, free: 4.289 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/0.6968, allocations: 0.6781 MB / 1.182 GB, free: 3.922 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6968, allocations: 5.312 kB / 1.182 GB, free: 3.918 MB / 1.026 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001632/0.6984, allocations: 1.13 MB / 1.183 GB, free: 3.461 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6984, allocations: 11.47 kB / 1.183 GB, free: 3.457 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6984, allocations: 3.281 kB / 1.183 GB, free: 3.457 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.699, allocations: 268.3 kB / 1.183 GB, free: 3.387 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.6993, allocations: 123.9 kB / 1.183 GB, free: 3.375 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.703, allocations: 3.512 MB / 1.187 GB, free: 1.023 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.7036, allocations: 96.73 kB / 1.187 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.7036, allocations: 31.31 kB / 1.187 GB, free: 0.9688 MB / 1.026 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,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,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,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.0007922/0.7044, allocations: 459 kB / 1.187 GB, free: 0.75 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.7046, allocations: 179.8 kB / 1.187 GB, free: 0.6523 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.7061, allocations: 1.05 MB / 1.188 GB, free: 240 kB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7061, allocations: 6.125 kB / 1.188 GB, free: 240 kB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7061, allocations: 1.219 kB / 1.188 GB, free: 240 kB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.7061, allocations: 4.453 kB / 1.188 GB, free: 240 kB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.7087, allocations: 1.916 MB / 1.19 GB, free: 15.39 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.7087, allocations: 4 kB / 1.19 GB, free: 15.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.7089, allocations: 59.69 kB / 1.19 GB, free: 15.38 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.7094, allocations: 279.1 kB / 1.19 GB, free: 15.3 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.7095, allocations: 22.55 kB / 1.19 GB, free: 15.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/0.7135, allocations: 4.925 MB / 1.195 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7135, allocations: 0 / 1.195 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.7156, allocations: 1.454 MB / 1.197 GB, free: 10.87 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.7159, allocations: 201.9 kB / 1.197 GB, free: 10.75 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.716, allocations: 25.28 kB / 1.197 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.7162, allocations: 35.89 kB / 1.197 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.7164, allocations: 80.17 kB / 1.197 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.7164, allocations: 23.19 kB / 1.197 GB, free: 10.7 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001175/0.7176, allocations: 1.082 MB / 1.198 GB, free: 10.26 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7176, allocations: 0 / 1.198 GB, free: 10.26 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0008082/0.7184, allocations: 282.2 kB / 1.198 GB, free: 10.21 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,assEqu.diff,conHeaCoo.I.y,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (42): * Single equations (assignments): 32 * 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.0009235/0.7193, allocations: 0.5148 MB / 1.199 GB, free: 9.977 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.7206, allocations: 0.8882 MB / 1.2 GB, free: 9.48 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7206, allocations: 0 / 1.2 GB, free: 9.48 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.7213, allocations: 0.6633 MB / 1.2 GB, free: 9.012 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.7221, allocations: 320.9 kB / 1.201 GB, free: 8.84 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.7255, allocations: 2.915 MB / 1.204 GB, free: 7.23 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.7261, allocations: 0.7313 MB / 1.204 GB, free: 6.82 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.7263, allocations: 169.6 kB / 1.204 GB, free: 6.762 MB / 1.042 GB Notification: Performance of SimCode: time 1.012e-06/0.7263, allocations: 0 / 1.204 GB, free: 6.762 MB / 1.042 GB Notification: Performance of Templates: time 0.02771/0.754, allocations: 28.05 MB / 1.232 GB, free: 14.73 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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: 9.904849369078875]