Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase7,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.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_latest_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.0009896/0.0009896, allocations: 99.58 kB / 16.02 MB, free: 76 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.001321/0.001321, allocations: 188 kB / 16.92 MB, free: 6.75 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 462.6 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 9.375 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1577/0.499, allocations: 153.4 MB / 1.209 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02891/0.528, allocations: 21.76 MB / 1.23 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.5307, allocations: 59.62 kB / 1.23 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.533, allocations: 1.34 MB / 1.232 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.5356, allocations: 0.9577 MB / 1.233 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.5375, allocations: 0.5744 MB / 1.233 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002566/0.5401, allocations: 1.755 MB / 1.235 GB, free: 480 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.5416, allocations: 0.8419 MB / 1.236 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.543, allocations: 0.6264 MB / 1.236 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.5446, allocations: 1.136 MB / 1.238 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.5448, allocations: 36 kB / 1.238 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.5453, allocations: 83.91 kB / 1.238 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.5457, allocations: 368.4 kB / 1.238 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000814/0.5465, allocations: 0.6067 MB / 1.239 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.5478, allocations: 1.181 MB / 1.24 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5478, allocations: 4 kB / 1.24 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5478, allocations: 0 / 1.24 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.124e-05/0.5479, allocations: 0 / 1.24 GB, free: 11.55 MB / 0.9981 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.00336/0.5512, allocations: 1.691 MB / 1.241 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5513, allocations: 15.91 kB / 1.241 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.5517, allocations: 190.6 kB / 1.242 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.5532, allocations: 0.8711 MB / 1.242 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5534, allocations: 98.98 kB / 1.243 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.5535, allocations: 64 kB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.555, allocations: 0.7254 MB / 1.243 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.555, allocations: 4 kB / 1.243 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.5551, allocations: 24 kB / 1.243 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.5551, allocations: 16 kB / 1.243 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.5564, allocations: 0.5633 MB / 1.244 GB, free: 7.156 MB / 0.9981 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.005091/0.5615, allocations: 3.683 MB / 1.247 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.5629, allocations: 0.6277 MB / 1.248 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.5636, allocations: 386.3 kB / 1.248 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.5637, allocations: 12.56 kB / 1.248 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007465/0.5645, allocations: 390.9 kB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 2.745e-06/0.5645, allocations: 4 kB / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65): time 0.7452/1.31, allocations: 1.813 MB / 1.251 GB, free: 45.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/1.31, allocations: 63.66 kB / 1.251 GB, free: 45.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/1.313, allocations: 2.249 MB / 1.253 GB, free: 45.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/1.313, allocations: 45.53 kB / 1.253 GB, free: 44.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/1.314, allocations: 0.7201 MB / 1.254 GB, free: 44.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/1.314, allocations: 215.4 kB / 1.254 GB, free: 44.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/1.314, allocations: 68.45 kB / 1.254 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/1.314, allocations: 340.9 kB / 1.254 GB, free: 44.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/1.315, allocations: 292.1 kB / 1.255 GB, free: 44.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/1.316, allocations: 442.7 kB / 1.255 GB, free: 44.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.317, allocations: 0.693 MB / 1.256 GB, free: 44.26 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.317, allocations: 3.75 kB / 1.256 GB, free: 44.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002269/1.319, allocations: 1.156 MB / 1.257 GB, free: 44.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.319, allocations: 9.969 kB / 1.257 GB, free: 44.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.319, allocations: 6.562 kB / 1.257 GB, free: 44.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008133/1.32, allocations: 274.7 kB / 1.257 GB, free: 44.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/1.321, allocations: 128 kB / 1.257 GB, free: 44.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/1.325, allocations: 3.434 MB / 1.26 GB, free: 42.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/1.326, allocations: 112.1 kB / 1.261 GB, free: 42.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/1.326, allocations: 26.22 kB / 1.261 GB, free: 42.63 MB / 0.9981 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.0007016/1.326, allocations: 467.2 kB / 1.261 GB, free: 42.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/1.327, allocations: 159.1 kB / 1.261 GB, free: 42.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/1.327, allocations: 187.3 kB / 1.261 GB, free: 42.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/1.327, allocations: 10.59 kB / 1.261 GB, free: 42.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.327, allocations: 0 / 1.261 GB, free: 42.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.327, allocations: 7.422 kB / 1.261 GB, free: 42.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/1.331, allocations: 2.064 MB / 1.263 GB, free: 42.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.331, allocations: 0 / 1.263 GB, free: 42.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/1.331, allocations: 65.36 kB / 1.264 GB, free: 42.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007489/1.332, allocations: 282.7 kB / 1.264 GB, free: 42.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/1.332, allocations: 19.14 kB / 1.264 GB, free: 42.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005489/1.337, allocations: 4.763 MB / 1.268 GB, free: 39.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.337, allocations: 1.484 kB / 1.268 GB, free: 39.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/1.34, allocations: 1.428 MB / 1.27 GB, free: 38.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/1.341, allocations: 279.3 kB / 1.27 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.341, allocations: 13.56 kB / 1.27 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/1.341, allocations: 54.31 kB / 1.27 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/1.342, allocations: 77.66 kB / 1.27 GB, free: 38.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/1.342, allocations: 23.22 kB / 1.27 GB, free: 38.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002379/1.344, allocations: 1.636 MB / 1.272 GB, free: 38.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.344, allocations: 0 / 1.272 GB, free: 38.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00124/1.345, allocations: 275.1 kB / 1.272 GB, free: 38.64 MB / 0.9981 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.001214/1.347, allocations: 492.5 kB / 1.273 GB, free: 38.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002548/1.349, allocations: 0.9315 MB / 1.274 GB, free: 38.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.349, allocations: 0.5312 kB / 1.274 GB, free: 38.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.35, allocations: 0.6819 MB / 1.274 GB, free: 38.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.352, allocations: 269.3 kB / 1.274 GB, free: 38.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/1.357, allocations: 3.688 MB / 1.278 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.358, allocations: 1.311 MB / 1.279 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/1.359, allocations: 56.72 kB / 1.279 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.359, allocations: 0 / 1.279 GB, free: 35.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.03659/1.395, allocations: 23.39 MB / 1.302 GB, free: 32.36 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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