Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase4,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.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_9_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.001097/0.001097, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001136/0.001136, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.19/2.19, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5649, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1443/0.7092, allocations: 154.6 MB / 1.1 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.7334, allocations: 21.49 MB / 1.121 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/0.7368, allocations: 51.69 kB / 1.121 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.7387, allocations: 1.126 MB / 1.122 GB, free: 216 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.7404, allocations: 0.8177 MB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.7418, allocations: 386.6 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.7436, allocations: 1.255 MB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.7447, allocations: 0.6927 MB / 1.125 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008721/0.7455, allocations: 0.553 MB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.7467, allocations: 0.9528 MB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.7469, allocations: 64 kB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.7472, allocations: 112 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.7475, allocations: 344.6 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.748, allocations: 492.8 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.7492, allocations: 1.179 MB / 1.129 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7493, allocations: 0 / 1.129 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7493, allocations: 0 / 1.129 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.562e-05/0.7493, allocations: 0 / 1.129 GB, free: 9.371 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002492/0.7518, allocations: 1.471 MB / 1.13 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.7519, allocations: 16.03 kB / 1.13 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.7521, allocations: 135.2 kB / 1.13 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.7529, allocations: 0.6589 MB / 1.131 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.753, allocations: 70.69 kB / 1.131 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.7531, allocations: 51.91 kB / 1.131 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.7541, allocations: 0.5184 MB / 1.132 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.7541, allocations: 0 / 1.132 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.7542, allocations: 16 kB / 1.132 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.7542, allocations: 12 kB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.755, allocations: 419.7 kB / 1.132 GB, free: 5.891 MB / 0.8887 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.003685/0.7587, allocations: 2.8 MB / 1.135 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.7597, allocations: 455.4 kB / 1.135 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.7603, allocations: 287.3 kB / 1.136 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.7603, allocations: 5.094 kB / 1.136 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/0.7609, allocations: 309.7 kB / 1.136 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 2.755e-06/0.7609, allocations: 0 / 1.136 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.0028/0.7637, allocations: 1.242 MB / 1.137 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.7638, allocations: 63.34 kB / 1.137 GB, free: 436 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.7654, allocations: 1.752 MB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.7655, allocations: 41.7 kB / 1.139 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.7658, allocations: 0.5179 MB / 1.139 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.766, allocations: 145.9 kB / 1.14 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.7661, allocations: 98.23 kB / 1.14 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.7662, allocations: 322 kB / 1.14 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.7667, allocations: 229 kB / 1.14 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.7672, allocations: 324.8 kB / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.7681, allocations: 0.5135 MB / 1.141 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7681, allocations: 0 / 1.141 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001517/0.7696, allocations: 0.8433 MB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7697, allocations: 8 kB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7697, allocations: 0 / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000488/0.7702, allocations: 184.9 kB / 1.142 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.7705, allocations: 103.8 kB / 1.142 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.7737, allocations: 2.999 MB / 1.145 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.7742, allocations: 83.53 kB / 1.145 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.7742, allocations: 24 kB / 1.145 GB, free: 8.012 MB / 0.9044 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.0004095/0.7746, allocations: 387.4 kB / 1.145 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.7747, allocations: 118.4 kB / 1.146 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.7749, allocations: 143.7 kB / 1.146 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.7749, allocations: 4 kB / 1.146 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.775, allocations: 4 kB / 1.146 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.775, allocations: 3.984 kB / 1.146 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.7772, allocations: 1.558 MB / 1.147 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7772, allocations: 0 / 1.147 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.7774, allocations: 51.89 kB / 1.147 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.7779, allocations: 189.6 kB / 1.147 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.7779, allocations: 15.98 kB / 1.148 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003951/0.7819, allocations: 4.557 MB / 1.152 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7819, allocations: 0 / 1.152 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.7836, allocations: 1.061 MB / 1.153 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.7838, allocations: 219.6 kB / 1.153 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.7839, allocations: 12 kB / 1.153 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.7842, allocations: 31.97 kB / 1.153 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7844, allocations: 47.92 kB / 1.153 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.7844, allocations: 23.98 kB / 1.153 GB, free: 15.21 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001198/0.7856, allocations: 1.281 MB / 1.155 GB, free: 13.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7856, allocations: 3.938 kB / 1.155 GB, free: 13.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007188/0.7864, allocations: 211.6 kB / 1.155 GB, free: 13.72 MB / 0.92 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.001053/0.7874, allocations: 490 kB / 1.155 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.7889, allocations: 0.754 MB / 1.156 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7889, allocations: 4 kB / 1.156 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.7897, allocations: 0.5519 MB / 1.157 GB, free: 12.08 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.7907, allocations: 204.9 kB / 1.157 GB, free: 11.88 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.7946, allocations: 2.697 MB / 1.159 GB, free: 9.156 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.7954, allocations: 1.161 MB / 1.16 GB, free: 7.965 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003068/0.7957, allocations: 88.72 kB / 1.161 GB, free: 7.879 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.7958, allocations: 43.42 kB / 1.161 GB, free: 7.836 MB / 0.92 GB Notification: Performance of SimCode: time 3.1e-07/0.7958, allocations: 0 / 1.161 GB, free: 7.836 MB / 0.92 GB Notification: Performance of Templates: time 0.01739/0.8132, allocations: 10.23 MB / 1.171 GB, free: 13.75 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches