Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 200 kB / 16.79 MB, free: 6.828 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.523 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.373/2.373, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7022, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1806/0.8828, allocations: 155.6 MB / 1.102 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.9126, allocations: 21.97 MB / 1.123 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.9165, allocations: 55.69 kB / 1.123 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.919, allocations: 1.34 MB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.9214, allocations: 0.9733 MB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.9237, allocations: 0.5748 MB / 1.126 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002601/0.9263, allocations: 1.766 MB / 1.128 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.9279, allocations: 0.8788 MB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.9293, allocations: 0.6577 MB / 1.129 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.9312, allocations: 1.179 MB / 1.13 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.9315, allocations: 52 kB / 1.13 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.9322, allocations: 99.98 kB / 1.13 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005604/0.9327, allocations: 396.3 kB / 1.131 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.9338, allocations: 0.6167 MB / 1.131 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.9354, allocations: 1.201 MB / 1.133 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9354, allocations: 3.938 kB / 1.133 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9354, allocations: 0 / 1.133 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.652e-05/0.9355, allocations: 0 / 1.133 GB, free: 6.137 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00439/0.9399, allocations: 1.915 MB / 1.134 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9399, allocations: 8.031 kB / 1.134 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/0.9404, allocations: 182.7 kB / 1.135 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.9422, allocations: 0.8788 MB / 1.135 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.9423, allocations: 87 kB / 1.136 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.9425, allocations: 64 kB / 1.136 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.944, allocations: 0.7176 MB / 1.136 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.9441, allocations: 7.906 kB / 1.136 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.9442, allocations: 24 kB / 1.136 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.9442, allocations: 16 kB / 1.136 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.9454, allocations: 0.5438 MB / 1.137 GB, free: 1.555 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.005396/0.9509, allocations: 3.625 MB / 1.14 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.9523, allocations: 0.6125 MB / 1.141 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/0.9531, allocations: 378.3 kB / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.705e-05/0.9532, allocations: 8.562 kB / 1.141 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008339/0.954, allocations: 375 kB / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 3.146e-06/0.954, allocations: 0 / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.005152/0.9592, allocations: 1.788 MB / 1.143 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.9592, allocations: 67.89 kB / 1.144 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.9624, allocations: 2.251 MB / 1.146 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.9624, allocations: 45.69 kB / 1.146 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.9631, allocations: 0.7187 MB / 1.146 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.9633, allocations: 209 kB / 1.147 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.9636, allocations: 122.7 kB / 1.147 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9637, allocations: 349.9 kB / 1.147 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.9644, allocations: 269.8 kB / 1.147 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.9651, allocations: 422.8 kB / 1.148 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.9664, allocations: 0.6667 MB / 1.148 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.9665, allocations: 8 kB / 1.148 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002589/0.9691, allocations: 1.112 MB / 1.15 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.9691, allocations: 8.219 kB / 1.15 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.9691, allocations: 4 kB / 1.15 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009528/0.9701, allocations: 283.3 kB / 1.15 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.9706, allocations: 123.7 kB / 1.15 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/0.9761, allocations: 3.43 MB / 1.153 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.9769, allocations: 95.39 kB / 1.153 GB, free: 8 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/0.977, allocations: 31.98 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008236/0.9778, allocations: 464.7 kB / 1.154 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.9782, allocations: 161.9 kB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.9786, allocations: 179.7 kB / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.9786, allocations: 15.94 kB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.9786, allocations: 3.984 kB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.9787, allocations: 0 / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.9828, allocations: 2.037 MB / 1.156 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9828, allocations: 4 kB / 1.156 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.9831, allocations: 63.89 kB / 1.156 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000824/0.984, allocations: 271.8 kB / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.9841, allocations: 19.92 kB / 1.157 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006066/0.9901, allocations: 4.776 MB / 1.161 GB, free: 7.652 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9902, allocations: 0 / 1.161 GB, free: 7.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.9931, allocations: 1.389 MB / 1.163 GB, free: 6.242 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.9936, allocations: 263 kB / 1.163 GB, free: 5.965 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.9939, allocations: 20 kB / 1.163 GB, free: 5.945 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.9945, allocations: 43.86 kB / 1.163 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.9947, allocations: 72.45 kB / 1.163 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.9948, allocations: 23.92 kB / 1.163 GB, free: 5.809 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002263/0.997, allocations: 1.631 MB / 1.165 GB, free: 4.184 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/0.997, allocations: 4 kB / 1.165 GB, free: 4.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001232/0.9983, allocations: 280.1 kB / 1.165 GB, free: 3.906 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.9996, allocations: 485.7 kB / 1.165 GB, free: 3.609 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002212/1.002, allocations: 0.8952 MB / 1.166 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.002, allocations: 4 kB / 1.166 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/1.003, allocations: 0.6752 MB / 1.167 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.005, allocations: 268.9 kB / 1.167 GB, free: 1.738 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/1.011, allocations: 3.615 MB / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.013, allocations: 1.307 MB / 1.172 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/1.013, allocations: 63.42 kB / 1.172 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of SimCode: time 1.202e-06/1.013, allocations: 0 / 1.172 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of Templates: time 0.03807/1.051, allocations: 23.63 MB / 1.195 GB, free: 5.105 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time