Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001167/0.001171, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.001128/0.001128, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.377/2.377, allocations: 442.6 MB / 0.7165 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 66.39 kB / 0.8773 GB, free: 42.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 153 MB / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1491/0.3795, allocations: 156.8 MB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02136/0.4009, allocations: 21.75 MB / 1.201 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.4024, allocations: 47.75 kB / 1.201 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.4038, allocations: 1.165 MB / 1.202 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.4049, allocations: 0.8524 MB / 1.203 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008536/0.4058, allocations: 450.5 kB / 1.203 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009979/0.4068, allocations: 1.251 MB / 1.205 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006594/0.4075, allocations: 0.6791 MB / 1.205 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.408, allocations: 0.5529 MB / 1.206 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008464/0.4089, allocations: 0.9177 MB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.409, allocations: 68 kB / 1.207 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.4092, allocations: 115.9 kB / 1.207 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.4094, allocations: 312.8 kB / 1.207 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.4098, allocations: 496.8 kB / 1.208 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009016/0.4107, allocations: 1.199 MB / 1.209 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4107, allocations: 0 / 1.209 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4107, allocations: 0 / 1.209 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4107, allocations: 0 / 1.209 GB, free: 12.4 MB / 0.9669 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.001927/0.4126, allocations: 1.478 MB / 1.21 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.4127, allocations: 12.03 kB / 1.21 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.4128, allocations: 135.3 kB / 1.211 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.4136, allocations: 0.6628 MB / 1.211 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4137, allocations: 74.69 kB / 1.211 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.4138, allocations: 44 kB / 1.211 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.4146, allocations: 0.5223 MB / 1.212 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4146, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.4147, allocations: 19.98 kB / 1.212 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4147, allocations: 12 kB / 1.212 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.4155, allocations: 415.7 kB / 1.212 GB, free: 8.902 MB / 0.9669 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.003101/0.4186, allocations: 2.796 MB / 1.215 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000863/0.4194, allocations: 451.8 kB / 1.215 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.4199, allocations: 285.3 kB / 1.216 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.42, allocations: 8.266 kB / 1.216 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004854/0.4205, allocations: 294.8 kB / 1.216 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 1.823e-06/0.4205, allocations: 0 / 1.216 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.00256/0.423, allocations: 1.248 MB / 1.217 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4231, allocations: 55.41 kB / 1.217 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.4247, allocations: 1.752 MB / 1.219 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.4247, allocations: 41.69 kB / 1.219 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.4251, allocations: 0.5179 MB / 1.219 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4252, allocations: 146 kB / 1.22 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.4253, allocations: 94.25 kB / 1.22 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4255, allocations: 326 kB / 1.22 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.4259, allocations: 217 kB / 1.22 GB, free: 360 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.4264, allocations: 328.9 kB / 1.221 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008102/0.4272, allocations: 0.5099 MB / 1.221 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4272, allocations: 0 / 1.221 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001467/0.4287, allocations: 0.845 MB / 1.222 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4287, allocations: 5.719 kB / 1.222 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4287, allocations: 12.06 kB / 1.222 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/0.4292, allocations: 184.6 kB / 1.222 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.4295, allocations: 95.81 kB / 1.222 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.4327, allocations: 3.006 MB / 1.225 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.4331, allocations: 71.56 kB / 1.225 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.4331, allocations: 23.98 kB / 1.225 GB, free: 11.06 MB / 0.9825 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.0004059/0.4335, allocations: 387.3 kB / 1.226 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4337, allocations: 118.4 kB / 1.226 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.4338, allocations: 143.7 kB / 1.226 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4339, allocations: 8 kB / 1.226 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4339, allocations: 0 / 1.226 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4339, allocations: 7.984 kB / 1.226 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.4361, allocations: 1.564 MB / 1.227 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4361, allocations: 3.938 kB / 1.227 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.4363, allocations: 39.97 kB / 1.227 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.4367, allocations: 203.8 kB / 1.228 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.4368, allocations: 15.98 kB / 1.228 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004095/0.4409, allocations: 4.544 MB / 1.232 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4409, allocations: 4 kB / 1.232 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4425, allocations: 1.055 MB / 1.233 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.4428, allocations: 219.6 kB / 1.233 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.4429, allocations: 11.98 kB / 1.233 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.4432, allocations: 31.97 kB / 1.233 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.4433, allocations: 51.92 kB / 1.233 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.4434, allocations: 16 kB / 1.233 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001212/0.4446, allocations: 1.277 MB / 1.235 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4446, allocations: 0 / 1.235 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006836/0.4453, allocations: 203.7 kB / 1.235 GB, free: 0.7852 MB / 0.9825 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.0009939/0.4463, allocations: 486.3 kB / 1.235 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.4476, allocations: 0.7317 MB / 1.236 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4477, allocations: 4.188 kB / 1.236 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.4484, allocations: 0.5474 MB / 1.237 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.4493, allocations: 192.5 kB / 1.237 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.4523, allocations: 2.366 MB / 1.239 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.453, allocations: 1.153 MB / 1.24 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.4532, allocations: 96.7 kB / 1.24 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.4533, allocations: 43.44 kB / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.4533, allocations: 0 / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.0164/0.4697, allocations: 10.45 MB / 1.25 GB, free: 0.957 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches