Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001405, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8091, allocations: 140.4 MB / 0.9489 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1931/1.002, allocations: 155 MB / 1.1 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02909/1.031, allocations: 21.87 MB / 1.122 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/1.034, allocations: 51.69 kB / 1.122 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/1.037, allocations: 2.101 MB / 1.124 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/1.039, allocations: 1.367 MB / 1.125 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/1.04, allocations: 0.5097 MB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002108/1.043, allocations: 1.898 MB / 1.127 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/1.044, allocations: 0.9953 MB / 1.128 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/1.045, allocations: 0.7865 MB / 1.129 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/1.046, allocations: 1.514 MB / 1.131 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/1.047, allocations: 59.94 kB / 1.131 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/1.047, allocations: 99.92 kB / 1.131 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004131/1.047, allocations: 0.5159 MB / 1.131 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006117/1.048, allocations: 0.7251 MB / 1.132 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/1.049, allocations: 1.782 MB / 1.134 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.049, allocations: 4 kB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.22e-07/1.049, allocations: 0 / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.897e-05/1.049, allocations: 0 / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003172/1.052, allocations: 2.277 MB / 1.136 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.053, allocations: 12.03 kB / 1.136 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/1.053, allocations: 230.1 kB / 1.136 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/1.054, allocations: 0.9992 MB / 1.137 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/1.054, allocations: 83 kB / 1.137 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.054, allocations: 75.89 kB / 1.137 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.056, allocations: 0.729 MB / 1.138 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/1.056, allocations: 0 / 1.138 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/1.056, allocations: 28 kB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/1.056, allocations: 12 kB / 1.138 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/1.057, allocations: 0.5984 MB / 1.139 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/1.061, allocations: 3.521 MB / 1.142 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/1.063, allocations: 0.7021 MB / 1.143 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007248/1.064, allocations: 410.3 kB / 1.143 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/1.064, allocations: 8.562 kB / 1.143 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007965/1.065, allocations: 434.8 kB / 1.144 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 3.837e-06/1.065, allocations: 0 / 1.144 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.004362/1.069, allocations: 1.807 MB / 1.145 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.069, allocations: 59.97 kB / 1.145 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/1.073, allocations: 3.308 MB / 1.149 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/1.073, allocations: 49.7 kB / 1.149 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008162/1.074, allocations: 0.8821 MB / 1.15 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/1.074, allocations: 224.9 kB / 1.15 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/1.074, allocations: 130.6 kB / 1.15 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.075, allocations: 341.9 kB / 1.15 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/1.075, allocations: 305.8 kB / 1.15 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/1.076, allocations: 434.4 kB / 1.151 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.077, allocations: 0.7147 MB / 1.152 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.077, allocations: 7.922 kB / 1.152 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002504/1.08, allocations: 1.205 MB / 1.153 GB, free: 15.99 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.08, allocations: 7.938 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.08, allocations: 4 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009418/1.081, allocations: 263 kB / 1.153 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/1.081, allocations: 131.8 kB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005758/1.087, allocations: 4.369 MB / 1.157 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/1.088, allocations: 103.2 kB / 1.158 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/1.088, allocations: 32.06 kB / 1.158 GB, free: 10.82 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001404/1.09, allocations: 0.5967 MB / 1.158 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/1.09, allocations: 209.3 kB / 1.158 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/1.091, allocations: 252.5 kB / 1.159 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.091, allocations: 8 kB / 1.159 GB, free: 9.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/1.091, allocations: 7.938 kB / 1.159 GB, free: 9.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.091, allocations: 4.031 kB / 1.159 GB, free: 9.738 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/1.095, allocations: 2.342 MB / 1.161 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.095, allocations: 0 / 1.161 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/1.095, allocations: 67.89 kB / 1.161 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006439/1.096, allocations: 257.4 kB / 1.161 GB, free: 7.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.103e-05/1.096, allocations: 19.98 kB / 1.161 GB, free: 6.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004575/1.101, allocations: 4.362 MB / 1.165 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.101, allocations: 0 / 1.165 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/1.103, allocations: 1.572 MB / 1.167 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/1.104, allocations: 318.3 kB / 1.167 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/1.104, allocations: 16 kB / 1.167 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/1.105, allocations: 43.95 kB / 1.167 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/1.105, allocations: 80.33 kB / 1.167 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/1.105, allocations: 23.98 kB / 1.167 GB, free: 272 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00288/1.108, allocations: 2.431 MB / 1.17 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/1.108, allocations: 0 / 1.17 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001138/1.109, allocations: 287.5 kB / 1.17 GB, free: 13.54 MB / 0.9356 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001166/1.11, allocations: 485.6 kB / 1.171 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002078/1.113, allocations: 1.057 MB / 1.172 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.113, allocations: 0 / 1.172 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.114, allocations: 0.6903 MB / 1.172 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/1.115, allocations: 276.8 kB / 1.173 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/1.122, allocations: 4.558 MB / 1.177 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/1.123, allocations: 1.528 MB / 1.179 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006249/1.124, allocations: 146.3 kB / 1.179 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.124, allocations: 63.42 kB / 1.179 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of SimCode: time 1.583e-06/1.124, allocations: 0 / 1.179 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.02954/1.154, allocations: 13.61 MB / 1.192 GB, free: 7.367 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches