Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 103.7 kB / 16.27 MB, free: 6.418 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.001056/0.001056, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.212/2.212, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 66.91 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.6449/0.9251, allocations: 156.7 MB / 1.103 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.9509, allocations: 21.75 MB / 1.125 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.954, allocations: 55 kB / 1.125 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.9562, allocations: 1.165 MB / 1.126 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.9584, allocations: 0.8547 MB / 1.127 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.96, allocations: 438.9 kB / 1.127 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.9622, allocations: 1.251 MB / 1.128 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.9637, allocations: 0.6875 MB / 1.129 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.9653, allocations: 0.5501 MB / 1.129 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.9671, allocations: 0.9134 MB / 1.13 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002857/0.9674, allocations: 66.38 kB / 1.13 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.9681, allocations: 110 kB / 1.13 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.9685, allocations: 323.4 kB / 1.131 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008228/0.9693, allocations: 497.4 kB / 1.131 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.9709, allocations: 1.175 MB / 1.132 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9709, allocations: 0.6562 kB / 1.132 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9709, allocations: 0 / 1.132 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.572e-05/0.971, allocations: 0.8125 kB / 1.132 GB, free: 6.031 MB / 0.8575 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.003231/0.9742, allocations: 1.48 MB / 1.134 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.9743, allocations: 14.09 kB / 1.134 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.9746, allocations: 134.8 kB / 1.134 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.9755, allocations: 0.6586 MB / 1.135 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.9757, allocations: 72.48 kB / 1.135 GB, free: 20.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.9758, allocations: 49.56 kB / 1.135 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009341/0.9767, allocations: 0.5211 MB / 1.135 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.9768, allocations: 5.094 kB / 1.135 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.9768, allocations: 18.17 kB / 1.135 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.9768, allocations: 11.31 kB / 1.135 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.9776, allocations: 413.4 kB / 1.136 GB, free: 20.59 MB / 0.8731 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.003713/0.9814, allocations: 2.804 MB / 1.138 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009818/0.9824, allocations: 457.2 kB / 1.139 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.9829, allocations: 291.5 kB / 1.139 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.983, allocations: 5.219 kB / 1.139 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.9836, allocations: 304.5 kB / 1.139 GB, free: 19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 3.376e-06/0.9836, allocations: 0 / 1.139 GB, free: 19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.002991/0.9866, allocations: 1.24 MB / 1.141 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.9866, allocations: 61.8 kB / 1.141 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.9887, allocations: 1.751 MB / 1.142 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.9887, allocations: 40.61 kB / 1.142 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.9891, allocations: 0.5228 MB / 1.143 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.9893, allocations: 141.8 kB / 1.143 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.9895, allocations: 95.14 kB / 1.143 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9896, allocations: 331 kB / 1.144 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.9901, allocations: 216.7 kB / 1.144 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.9907, allocations: 328.1 kB / 1.144 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/0.9916, allocations: 0.5131 MB / 1.145 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.9916, allocations: 0 / 1.145 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001645/0.9933, allocations: 0.8528 MB / 1.145 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9933, allocations: 5.25 kB / 1.145 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9933, allocations: 4.562 kB / 1.145 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/0.9939, allocations: 182.9 kB / 1.146 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.9942, allocations: 94.77 kB / 1.146 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.9975, allocations: 3.01 MB / 1.149 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.9981, allocations: 71.53 kB / 1.149 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.9981, allocations: 22.19 kB / 1.149 GB, free: 14.97 MB / 0.8731 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.0006252/0.9988, allocations: 385.7 kB / 1.149 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.9989, allocations: 123.4 kB / 1.149 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.9992, allocations: 137.8 kB / 1.149 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9992, allocations: 5.312 kB / 1.149 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.9992, allocations: 3.156 kB / 1.149 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.9992, allocations: 3.875 kB / 1.149 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.002, allocations: 1.566 MB / 1.151 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.002, allocations: 0 / 1.151 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/1.002, allocations: 49.06 kB / 1.151 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/1.002, allocations: 199.3 kB / 1.151 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/1.002, allocations: 15.34 kB / 1.151 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/1.006, allocations: 4.549 MB / 1.156 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.006, allocations: 1.094 kB / 1.156 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/1.008, allocations: 1.066 MB / 1.157 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/1.009, allocations: 212.2 kB / 1.157 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.009, allocations: 14.97 kB / 1.157 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/1.009, allocations: 31.98 kB / 1.157 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.009, allocations: 56.72 kB / 1.157 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/1.009, allocations: 16.75 kB / 1.157 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001486/1.011, allocations: 1.281 MB / 1.158 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.011, allocations: 1.031 kB / 1.158 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008816/1.012, allocations: 202.7 kB / 1.158 GB, free: 8.895 MB / 0.8731 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.001123/1.013, allocations: 476.8 kB / 1.159 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001582/1.014, allocations: 0.7518 MB / 1.16 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.014, allocations: 1.781 kB / 1.16 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/1.015, allocations: 0.5539 MB / 1.16 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.016, allocations: 202.5 kB / 1.16 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/1.02, allocations: 2.451 MB / 1.163 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/1.021, allocations: 1.142 MB / 1.164 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/1.021, allocations: 46.5 kB / 1.164 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/1.021, allocations: 0 / 1.164 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of Templates: time 0.02495/1.046, allocations: 17.83 MB / 1.181 GB, free: 15.88 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches