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.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.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.001184/0.001184, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.001198/0.001198, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.006/2.006, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.48 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2463, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5956/0.8419, allocations: 156.7 MB / 1.104 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.8654, allocations: 21.74 MB / 1.125 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.8679, allocations: 53.91 kB / 1.125 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.8696, allocations: 1.16 MB / 1.127 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.8711, allocations: 0.8569 MB / 1.127 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.8723, allocations: 447.8 kB / 1.128 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.8737, allocations: 1.258 MB / 1.129 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.8745, allocations: 0.6895 MB / 1.13 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007835/0.8753, allocations: 0.5501 MB / 1.13 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.8764, allocations: 0.9173 MB / 1.131 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.8765, allocations: 65.94 kB / 1.131 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.8768, allocations: 115.3 kB / 1.131 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.877, allocations: 314.4 kB / 1.132 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.8774, allocations: 492.4 kB / 1.132 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.8784, allocations: 1.198 MB / 1.133 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8785, allocations: 1.188 kB / 1.133 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8785, allocations: 1.031 kB / 1.133 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.8785, allocations: 3.094 kB / 1.133 GB, free: 6.73 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.002463/0.8809, allocations: 1.481 MB / 1.135 GB, free: 21.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.881, allocations: 9.281 kB / 1.135 GB, free: 21.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.8812, allocations: 137.7 kB / 1.135 GB, free: 21.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/0.8822, allocations: 0.6559 MB / 1.136 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.8823, allocations: 71.5 kB / 1.136 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.8824, allocations: 54.38 kB / 1.136 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.8835, allocations: 0.5191 MB / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.8835, allocations: 3.062 kB / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.8836, allocations: 18.16 kB / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.8836, allocations: 11 kB / 1.136 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/0.8844, allocations: 413.8 kB / 1.137 GB, free: 21.29 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.003367/0.8878, allocations: 2.787 MB / 1.139 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.8887, allocations: 467.1 kB / 1.14 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.8892, allocations: 287.9 kB / 1.14 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.8892, allocations: 6.969 kB / 1.14 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.8897, allocations: 306.9 kB / 1.14 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 1.934e-06/0.8898, allocations: 0 / 1.14 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.002664/0.8924, allocations: 1.234 MB / 1.142 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.8925, allocations: 56.84 kB / 1.142 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.8946, allocations: 1.754 MB / 1.143 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.8946, allocations: 42.11 kB / 1.143 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.895, allocations: 0.5173 MB / 1.144 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.291e-05/0.8951, allocations: 149.2 kB / 1.144 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.8952, allocations: 93.66 kB / 1.144 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.8953, allocations: 332.9 kB / 1.144 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.8957, allocations: 220.3 kB / 1.145 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.8962, allocations: 328.7 kB / 1.145 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.897, allocations: 0.5129 MB / 1.145 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.897, allocations: 2 kB / 1.145 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001422/0.8984, allocations: 0.8477 MB / 1.146 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8984, allocations: 6.344 kB / 1.146 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8984, allocations: 4.406 kB / 1.146 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/0.8989, allocations: 181.3 kB / 1.146 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.8992, allocations: 93.48 kB / 1.147 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.9025, allocations: 3 MB / 1.149 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.903, allocations: 73.95 kB / 1.15 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.903, allocations: 19.81 kB / 1.15 GB, free: 15.11 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.0006512/0.9037, allocations: 383.9 kB / 1.15 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.9038, allocations: 118.9 kB / 1.15 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.904, allocations: 138.7 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.904, allocations: 10.09 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.9041, allocations: 6.375 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.9041, allocations: 2.906 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.9064, allocations: 1.564 MB / 1.152 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.9064, allocations: 0.9062 kB / 1.152 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.9066, allocations: 49.2 kB / 1.152 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.907, allocations: 192.5 kB / 1.152 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.9071, allocations: 13.91 kB / 1.152 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.9111, allocations: 4.567 MB / 1.156 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9111, allocations: 1.062 kB / 1.156 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.9128, allocations: 1.059 MB / 1.157 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.9131, allocations: 213.2 kB / 1.158 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.9132, allocations: 17.06 kB / 1.158 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.9135, allocations: 28.05 kB / 1.158 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.9136, allocations: 50.94 kB / 1.158 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.9137, allocations: 17.86 kB / 1.158 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001426/0.9151, allocations: 1.281 MB / 1.159 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9151, allocations: 2.188 kB / 1.159 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007958/0.9159, allocations: 204.2 kB / 1.159 GB, free: 9.043 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.001043/0.9169, allocations: 485.4 kB / 1.16 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.9183, allocations: 0.718 MB / 1.16 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9183, allocations: 0 / 1.16 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.919, allocations: 0.5469 MB / 1.161 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/0.9199, allocations: 209.4 kB / 1.161 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.9231, allocations: 2.365 MB / 1.163 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.9238, allocations: 1.156 MB / 1.165 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.924, allocations: 83.89 kB / 1.165 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.9241, allocations: 49.39 kB / 1.165 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9241, allocations: 0 / 1.165 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of Templates: time 0.01581/0.9399, allocations: 10.44 MB / 1.175 GB, free: 4.574 MB / 0.8731 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 -s cvode -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