Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005419/0.005419, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001237/0.001237, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6172, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1704/0.7876, allocations: 155.2 MB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.8153, allocations: 21.93 MB / 1.123 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002598/0.818, allocations: 51.69 kB / 1.123 GB, free: 324 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.8206, allocations: 2.124 MB / 1.125 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.8231, allocations: 1.394 MB / 1.126 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.8248, allocations: 0.5392 MB / 1.127 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.8273, allocations: 2.074 MB / 1.129 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.8287, allocations: 1.019 MB / 1.13 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.8298, allocations: 0.8254 MB / 1.13 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.8315, allocations: 1.573 MB / 1.132 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.8316, allocations: 56 kB / 1.132 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.832, allocations: 99.98 kB / 1.132 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005013/0.8325, allocations: 0.5432 MB / 1.133 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007164/0.8332, allocations: 0.7639 MB / 1.133 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.8345, allocations: 1.442 MB / 1.135 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8345, allocations: 4 kB / 1.135 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8345, allocations: 0 / 1.135 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.479e-05/0.8346, allocations: 0 / 1.135 GB, free: 3.812 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003639/0.8382, allocations: 2.349 MB / 1.137 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.8383, allocations: 16.02 kB / 1.137 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.8386, allocations: 233.9 kB / 1.137 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.84, allocations: 1.042 MB / 1.138 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.8401, allocations: 87 kB / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.8402, allocations: 75.98 kB / 1.139 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.8416, allocations: 0.7728 MB / 1.139 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.8417, allocations: 4 kB / 1.139 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.8417, allocations: 31.98 kB / 1.139 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.8418, allocations: 16 kB / 1.139 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.843, allocations: 0.6374 MB / 1.14 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.8482, allocations: 3.744 MB / 1.144 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.8498, allocations: 0.7436 MB / 1.144 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.8506, allocations: 434 kB / 1.145 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.8506, allocations: 8.562 kB / 1.145 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008269/0.8515, allocations: 452 kB / 1.145 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 3.116e-06/0.8515, allocations: 0 / 1.145 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.00428/0.8558, allocations: 1.834 MB / 1.147 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.8559, allocations: 60.06 kB / 1.147 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.8596, allocations: 3.367 MB / 1.15 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.8597, allocations: 45.64 kB / 1.15 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008114/0.8606, allocations: 0.9291 MB / 1.151 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.8608, allocations: 232.7 kB / 1.151 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.861, allocations: 142.7 kB / 1.152 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8612, allocations: 341.9 kB / 1.152 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.8619, allocations: 313.8 kB / 1.152 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/0.8626, allocations: 472 kB / 1.153 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.864, allocations: 0.7422 MB / 1.153 GB, free: 104 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.864, allocations: 0 / 1.153 GB, free: 104 kB / 0.9044 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002546/0.8665, allocations: 1.257 MB / 1.155 GB, free: 14.83 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.8666, allocations: 8.094 kB / 1.155 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.8666, allocations: 7.938 kB / 1.155 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.8674, allocations: 257.5 kB / 1.155 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.8679, allocations: 135.8 kB / 1.155 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/0.8729, allocations: 4.369 MB / 1.159 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.8737, allocations: 107.4 kB / 1.159 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.8738, allocations: 28 kB / 1.159 GB, free: 9.656 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009507/0.8748, allocations: 0.6145 MB / 1.16 GB, free: 9.031 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.8751, allocations: 213.3 kB / 1.16 GB, free: 8.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.8756, allocations: 257.1 kB / 1.16 GB, free: 8.562 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.8756, allocations: 8 kB / 1.16 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.8757, allocations: 4 kB / 1.16 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.8757, allocations: 3.984 kB / 1.16 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/0.88, allocations: 2.412 MB / 1.163 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.8801, allocations: 0 / 1.163 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.8804, allocations: 71.89 kB / 1.163 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000669/0.8811, allocations: 251.1 kB / 1.163 GB, free: 5.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.8812, allocations: 19.98 kB / 1.163 GB, free: 5.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004768/0.886, allocations: 4.355 MB / 1.167 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.886, allocations: 0 / 1.167 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.889, allocations: 1.636 MB / 1.169 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.8896, allocations: 318.3 kB / 1.169 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.8898, allocations: 23.92 kB / 1.169 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.8903, allocations: 47.95 kB / 1.169 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.8905, allocations: 76.48 kB / 1.169 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.8906, allocations: 23.98 kB / 1.169 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002881/0.8935, allocations: 2.46 MB / 1.172 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8935, allocations: 0 / 1.172 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001077/0.8946, allocations: 307.4 kB / 1.172 GB, free: 12.18 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001191/0.8958, allocations: 0.4922 MB / 1.173 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.898, allocations: 1.098 MB / 1.174 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.898, allocations: 0 / 1.174 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.8992, allocations: 0.7027 MB / 1.174 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.9008, allocations: 279.5 kB / 1.175 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.9076, allocations: 4.745 MB / 1.179 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.9089, allocations: 1.544 MB / 1.181 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.9092, allocations: 63.42 kB / 1.181 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.9092, allocations: 0 / 1.181 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of Templates: time 0.04532/0.9545, allocations: 32.61 MB / 1.213 GB, free: 2.75 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches