Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001115/0.001115, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001511/0.001511, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004136, allocations: 11.94 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7339, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1649/0.8988, allocations: 142.2 MB / 1.161 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02642/0.9253, allocations: 20.24 MB / 1.181 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.9272, allocations: 47.69 kB / 1.181 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.9287, allocations: 1.095 MB / 1.182 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.93, allocations: 0.7864 MB / 1.183 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.931, allocations: 327.2 kB / 1.183 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.9322, allocations: 1.189 MB / 1.184 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.9329, allocations: 0.4986 MB / 1.185 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005753/0.9335, allocations: 478.4 kB / 1.185 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008887/0.9344, allocations: 0.7811 MB / 1.186 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.9344, allocations: 31.98 kB / 1.186 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.9346, allocations: 60 kB / 1.186 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.9349, allocations: 290.9 kB / 1.186 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.9351, allocations: 209.1 kB / 1.187 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007834/0.9359, allocations: 0.8885 MB / 1.188 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.9359, allocations: 0 / 1.188 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9359, allocations: 0 / 1.188 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.9359, allocations: 0 / 1.188 GB, free: 6.496 MB / 0.9356 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.001974/0.9379, allocations: 1.335 MB / 1.189 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.9379, allocations: 12.56 kB / 1.189 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.9381, allocations: 130.4 kB / 1.189 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.939, allocations: 0.5973 MB / 1.19 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.9391, allocations: 78.69 kB / 1.19 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.9392, allocations: 47.89 kB / 1.19 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/0.9401, allocations: 0.5263 MB / 1.19 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.9402, allocations: 4 kB / 1.19 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.9402, allocations: 19.98 kB / 1.19 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9403, allocations: 8 kB / 1.19 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.9411, allocations: 431.7 kB / 1.191 GB, free: 3.195 MB / 0.9356 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.003322/0.9444, allocations: 2.854 MB / 1.193 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.9454, allocations: 487.2 kB / 1.194 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.946, allocations: 290.9 kB / 1.194 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.946, allocations: 8.328 kB / 1.194 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.9466, allocations: 306.6 kB / 1.194 GB, free: 15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.795e-06/0.9466, allocations: 0 / 1.194 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002768/0.9494, allocations: 1.262 MB / 1.196 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.9494, allocations: 63.31 kB / 1.196 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.9512, allocations: 1.748 MB / 1.197 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.9512, allocations: 37.7 kB / 1.197 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.9516, allocations: 0.514 MB / 1.198 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.9518, allocations: 153.9 kB / 1.198 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.9518, allocations: 12 kB / 1.198 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9519, allocations: 322 kB / 1.198 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.9524, allocations: 237 kB / 1.199 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.9529, allocations: 348.6 kB / 1.199 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.9535, allocations: 270.6 kB / 1.199 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.9535, allocations: 0 / 1.199 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001591/0.9551, allocations: 0.8822 MB / 1.2 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.9551, allocations: 8 kB / 1.2 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9551, allocations: 4 kB / 1.2 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.9556, allocations: 180.7 kB / 1.2 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.956, allocations: 104 kB / 1.2 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.9593, allocations: 2.748 MB / 1.203 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.9598, allocations: 95.89 kB / 1.203 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.9598, allocations: 23.95 kB / 1.203 GB, free: 5.766 MB / 0.9512 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005386/0.9604, allocations: 387.3 kB / 1.204 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.9605, allocations: 110.6 kB / 1.204 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.9607, allocations: 143.6 kB / 1.204 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.9607, allocations: 11.98 kB / 1.204 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.9607, allocations: 0 / 1.204 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.9607, allocations: 3.984 kB / 1.204 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.9632, allocations: 1.593 MB / 1.205 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.9632, allocations: 4 kB / 1.205 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.9634, allocations: 47.97 kB / 1.205 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.9639, allocations: 189.6 kB / 1.206 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.9639, allocations: 15.98 kB / 1.206 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/0.9679, allocations: 4.123 MB / 1.21 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9679, allocations: 0 / 1.21 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.9697, allocations: 1.08 MB / 1.211 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.9699, allocations: 223.5 kB / 1.211 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.97, allocations: 16 kB / 1.211 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.9704, allocations: 39.95 kB / 1.211 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.9705, allocations: 59.84 kB / 1.211 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.9705, allocations: 16 kB / 1.211 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001407/0.972, allocations: 1.277 MB / 1.212 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.4e-07/0.972, allocations: 4 kB / 1.212 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008889/0.9729, allocations: 207.7 kB / 1.212 GB, free: 11.85 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/0.9741, allocations: 482.1 kB / 1.213 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.9757, allocations: 0.7506 MB / 1.214 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9757, allocations: 4.125 kB / 1.214 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008347/0.9766, allocations: 0.563 MB / 1.214 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.9775, allocations: 190.9 kB / 1.214 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.9812, allocations: 2.668 MB / 1.217 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/0.982, allocations: 1.153 MB / 1.218 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.9823, allocations: 80.8 kB / 1.218 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.9824, allocations: 47.42 kB / 1.218 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.9825, allocations: 0 / 1.218 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of Templates: time 0.01845/1.001, allocations: 9.385 MB / 1.227 GB, free: 12.75 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches