Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 110.6 kB / 16.27 MB, free: 5.984 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.001816/0.001817, allocations: 189 kB / 17.19 MB, free: 5.609 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.17/2.17, allocations: 390.3 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 70.11 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2632, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.6087/0.8719, allocations: 156.7 MB / 1.103 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02451/0.8965, allocations: 21.75 MB / 1.125 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.8997, allocations: 54.09 kB / 1.125 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.9019, allocations: 1.159 MB / 1.126 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.904, allocations: 0.8551 MB / 1.127 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.9056, allocations: 443.3 kB / 1.127 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.9076, allocations: 1.257 MB / 1.128 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.9087, allocations: 0.6842 MB / 1.129 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.9102, allocations: 0.5511 MB / 1.129 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.9117, allocations: 0.9108 MB / 1.13 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.9118, allocations: 68.27 kB / 1.13 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.9122, allocations: 113.8 kB / 1.131 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.9125, allocations: 318.4 kB / 1.131 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.9131, allocations: 492.4 kB / 1.131 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.9145, allocations: 1.181 MB / 1.132 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9145, allocations: 1.094 kB / 1.132 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9145, allocations: 0.5625 kB / 1.132 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.9145, allocations: 0 / 1.132 GB, free: 6.461 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.002759/0.9173, allocations: 1.483 MB / 1.134 GB, free: 21.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.9174, allocations: 9.656 kB / 1.134 GB, free: 21.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.9176, allocations: 136.6 kB / 1.134 GB, free: 21.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.9184, allocations: 0.65 MB / 1.135 GB, free: 21.13 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.9186, allocations: 73.22 kB / 1.135 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.9187, allocations: 52.78 kB / 1.135 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008842/0.9196, allocations: 0.5217 MB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.9196, allocations: 0.7031 kB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.9196, allocations: 15.94 kB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.9197, allocations: 11.44 kB / 1.135 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.9205, allocations: 416 kB / 1.136 GB, free: 21.02 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.003487/0.924, allocations: 2.735 MB / 1.138 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.9249, allocations: 438.9 kB / 1.139 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.9255, allocations: 311.4 kB / 1.139 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.9256, allocations: 7.125 kB / 1.139 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.9261, allocations: 284.8 kB / 1.139 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.9261, allocations: 0.6875 kB / 1.139 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002657/0.9288, allocations: 1.15 MB / 1.14 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.9288, allocations: 58.56 kB / 1.141 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.931, allocations: 1.766 MB / 1.142 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.9311, allocations: 40.98 kB / 1.142 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.9316, allocations: 0.5279 MB / 1.143 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.9318, allocations: 141.8 kB / 1.143 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.9319, allocations: 103.1 kB / 1.143 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9321, allocations: 326.5 kB / 1.143 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.9325, allocations: 213.2 kB / 1.144 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.933, allocations: 342.3 kB / 1.144 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.9339, allocations: 0.517 MB / 1.144 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9339, allocations: 2.094 kB / 1.144 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001689/0.9356, allocations: 0.8145 MB / 1.145 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.9356, allocations: 9.594 kB / 1.145 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.9356, allocations: 4.75 kB / 1.145 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.9361, allocations: 136.8 kB / 1.145 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.9365, allocations: 102.3 kB / 1.145 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.9392, allocations: 2.6 MB / 1.148 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/0.9399, allocations: 77.17 kB / 1.148 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.94, allocations: 27.56 kB / 1.148 GB, free: 15.29 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006732/0.9407, allocations: 385.8 kB / 1.148 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.9408, allocations: 115.3 kB / 1.149 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.9411, allocations: 147.7 kB / 1.149 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.9411, allocations: 4.719 kB / 1.149 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.9411, allocations: 5.234 kB / 1.149 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.9411, allocations: 0.9375 kB / 1.149 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.9435, allocations: 1.489 MB / 1.15 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.9435, allocations: 0 / 1.15 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.9437, allocations: 49.64 kB / 1.15 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/0.9441, allocations: 165.1 kB / 1.15 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.9441, allocations: 11.61 kB / 1.15 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.9476, allocations: 4.031 MB / 1.154 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9476, allocations: 0.9375 kB / 1.154 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.9494, allocations: 0.9913 MB / 1.155 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.9497, allocations: 214.5 kB / 1.155 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.9498, allocations: 8.219 kB / 1.156 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.9502, allocations: 31.31 kB / 1.156 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.9503, allocations: 52.75 kB / 1.156 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.9503, allocations: 17.45 kB / 1.156 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001408/0.9518, allocations: 1.291 MB / 1.157 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9518, allocations: 0.5938 kB / 1.157 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007864/0.9526, allocations: 197 kB / 1.157 GB, free: 9.574 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,12,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.001071/0.9536, allocations: 483.8 kB / 1.158 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.9552, allocations: 0.6953 MB / 1.158 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9552, allocations: 0.8125 kB / 1.158 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.956, allocations: 0.5263 MB / 1.159 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.957, allocations: 200.2 kB / 1.159 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.9609, allocations: 2.439 MB / 1.161 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/0.9617, allocations: 1.147 MB / 1.162 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.9619, allocations: 46.83 kB / 1.162 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of SimCode: time 7.92e-07/0.9619, allocations: 1.094 kB / 1.162 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of Templates: time 0.02327/0.9852, allocations: 17.8 MB / 1.18 GB, free: 0.8438 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches