Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.899/2.899, allocations: 469.8 MB / 0.7423 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003116/0.003116, allocations: 67.64 kB / 0.9085 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3638, allocations: 159.1 MB / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1907/0.5546, allocations: 156.8 MB / 1.217 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02717/0.5818, allocations: 21.73 MB / 1.238 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.5835, allocations: 47.75 kB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.5852, allocations: 1.169 MB / 1.239 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.5866, allocations: 0.8562 MB / 1.24 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.5877, allocations: 442.3 kB / 1.241 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.5892, allocations: 1.255 MB / 1.242 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008878/0.5901, allocations: 0.6833 MB / 1.243 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006961/0.5908, allocations: 0.5491 MB / 1.243 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.592, allocations: 0.9215 MB / 1.244 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.5921, allocations: 68 kB / 1.244 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.5924, allocations: 112 kB / 1.244 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.5927, allocations: 316.7 kB / 1.244 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.5932, allocations: 492.8 kB / 1.245 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.5945, allocations: 1.179 MB / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5945, allocations: 0 / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5945, allocations: 0 / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.5945, allocations: 0 / 1.246 GB, free: 3.062 MB / 0.9981 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.002431/0.5969, allocations: 1.486 MB / 1.248 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.597, allocations: 8.031 kB / 1.248 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.5972, allocations: 131.3 kB / 1.248 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/0.5981, allocations: 0.6627 MB / 1.248 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.5982, allocations: 70.69 kB / 1.248 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.5983, allocations: 44 kB / 1.248 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/0.5993, allocations: 0.5184 MB / 1.249 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5993, allocations: 0 / 1.249 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.5994, allocations: 20 kB / 1.249 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.471/1.07, allocations: 9.922 kB / 1.249 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.072, allocations: 410.6 kB / 1.249 GB, free: 190.2 MB / 0.9981 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.004018/1.076, allocations: 2.807 MB / 1.252 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.077, allocations: 460.7 kB / 1.253 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/1.078, allocations: 280.2 kB / 1.253 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/1.078, allocations: 10.31 kB / 1.253 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/1.078, allocations: 297.2 kB / 1.253 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.505e-06/1.078, allocations: 0.8125 kB / 1.253 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.00289/1.081, allocations: 1.239 MB / 1.254 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.081, allocations: 60.38 kB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/1.083, allocations: 1.75 MB / 1.256 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/1.083, allocations: 39.3 kB / 1.256 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/1.083, allocations: 0.5219 MB / 1.257 GB, free: 188 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/1.083, allocations: 143.7 kB / 1.257 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.083, allocations: 98.48 kB / 1.257 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.055e-05/1.083, allocations: 335.2 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/1.084, allocations: 214.2 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/1.084, allocations: 328.2 kB / 1.258 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/1.085, allocations: 0.5102 MB / 1.258 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.085, allocations: 0 / 1.258 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001459/1.087, allocations: 0.8474 MB / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.087, allocations: 6.688 kB / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.087, allocations: 5.578 kB / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/1.087, allocations: 191.1 kB / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/1.088, allocations: 91.81 kB / 1.259 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/1.091, allocations: 3 MB / 1.262 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/1.091, allocations: 68.22 kB / 1.262 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/1.091, allocations: 23.64 kB / 1.262 GB, free: 185.6 MB / 0.9981 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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.0004157/1.091, allocations: 392.3 kB / 1.263 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.092, allocations: 117 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/1.092, allocations: 141.2 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.092, allocations: 5.188 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.092, allocations: 2.75 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.092, allocations: 2.062 kB / 1.263 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/1.094, allocations: 1.571 MB / 1.265 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.094, allocations: 0 / 1.265 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/1.094, allocations: 48.08 kB / 1.265 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/1.095, allocations: 197 kB / 1.265 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/1.095, allocations: 18.42 kB / 1.265 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/1.098, allocations: 4.561 MB / 1.269 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.098, allocations: 0 / 1.269 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.1, allocations: 1.057 MB / 1.27 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/1.101, allocations: 213 kB / 1.27 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/1.101, allocations: 13.48 kB / 1.27 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/1.101, allocations: 26.77 kB / 1.27 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.101, allocations: 59.95 kB / 1.271 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/1.101, allocations: 16.36 kB / 1.271 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001457/1.103, allocations: 1.28 MB / 1.272 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.103, allocations: 0 / 1.272 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008047/1.103, allocations: 200.9 kB / 1.272 GB, free: 179.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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 (28): * Single equations (assignments): 20 * 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.00173/1.105, allocations: 495.2 kB / 1.272 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.107, allocations: 0.7414 MB / 1.273 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.107, allocations: 0 / 1.273 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008951/1.108, allocations: 0.5569 MB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/1.109, allocations: 210.4 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/1.112, allocations: 2.403 MB / 1.276 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/1.113, allocations: 1.153 MB / 1.277 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003195/1.114, allocations: 89.78 kB / 1.277 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/1.114, allocations: 42.94 kB / 1.278 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.114, allocations: 0 / 1.278 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02191/1.136, allocations: 10.45 MB / 1.288 GB, free: 173.8 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches