Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002197/0.002197, allocations: 191.9 kB / 16.14 MB, free: 6.699 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.525/1.525, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 482.3 MB / 0.7542 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 69.95 kB / 0.9231 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 162.2 MB / 1.082 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1893/0.4887, allocations: 155 MB / 1.233 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6362/1.125, allocations: 21.86 MB / 1.254 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/1.128, allocations: 52.19 kB / 1.254 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003828/1.132, allocations: 2.111 MB / 1.256 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/1.135, allocations: 1.369 MB / 1.258 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/1.137, allocations: 0.5069 MB / 1.258 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003333/1.14, allocations: 1.901 MB / 1.26 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/1.142, allocations: 0.9995 MB / 1.261 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/1.144, allocations: 0.79 MB / 1.262 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/1.147, allocations: 1.519 MB / 1.263 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002896/1.147, allocations: 53.12 kB / 1.263 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/1.148, allocations: 94.98 kB / 1.263 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007394/1.149, allocations: 0.5207 MB / 1.264 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/1.15, allocations: 0.7305 MB / 1.265 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/1.152, allocations: 1.777 MB / 1.266 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.152, allocations: 2.906 kB / 1.266 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.615e-06/1.152, allocations: 0.6094 kB / 1.266 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.369e-05/1.152, allocations: 0 / 1.266 GB, free: 7.039 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004868/1.157, allocations: 2.283 MB / 1.269 GB, free: 21.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.157, allocations: 8.062 kB / 1.269 GB, free: 21.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/1.158, allocations: 230.8 kB / 1.269 GB, free: 21.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.159, allocations: 1.002 MB / 1.27 GB, free: 21.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/1.159, allocations: 88.34 kB / 1.27 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/1.159, allocations: 67.73 kB / 1.27 GB, free: 21.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/1.16, allocations: 0.7278 MB / 1.271 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.161, allocations: 1.156 kB / 1.271 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/1.161, allocations: 25.56 kB / 1.271 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/1.161, allocations: 13.78 kB / 1.271 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/1.162, allocations: 0.5991 MB / 1.271 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/1.167, allocations: 3.522 MB / 1.275 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.169, allocations: 0.7018 MB / 1.275 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008187/1.17, allocations: 412.6 kB / 1.276 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/1.17, allocations: 12.11 kB / 1.276 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009983/1.171, allocations: 433.4 kB / 1.276 GB, free: 19.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.596e-06/1.171, allocations: 0.5 kB / 1.276 GB, free: 19.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.004698/1.176, allocations: 1.797 MB / 1.278 GB, free: 18.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/1.176, allocations: 66.73 kB / 1.278 GB, free: 18.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/1.18, allocations: 3.302 MB / 1.281 GB, free: 18.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/1.18, allocations: 49.56 kB / 1.281 GB, free: 18.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/1.181, allocations: 0.8866 MB / 1.282 GB, free: 18.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/1.181, allocations: 221.2 kB / 1.282 GB, free: 18.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.181, allocations: 130.6 kB / 1.283 GB, free: 18.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.181, allocations: 336.7 kB / 1.283 GB, free: 18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/1.182, allocations: 304.5 kB / 1.283 GB, free: 17.99 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/1.183, allocations: 441.5 kB / 1.284 GB, free: 17.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.184, allocations: 0.7167 MB / 1.284 GB, free: 17.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.184, allocations: 0 / 1.284 GB, free: 17.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002227/1.186, allocations: 1.215 MB / 1.285 GB, free: 17.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.186, allocations: 6.562 kB / 1.286 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.186, allocations: 6.625 kB / 1.286 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006821/1.187, allocations: 261.3 kB / 1.286 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/1.187, allocations: 132.3 kB / 1.286 GB, free: 17.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/1.192, allocations: 4.366 MB / 1.29 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/1.193, allocations: 99.78 kB / 1.29 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/1.193, allocations: 33.86 kB / 1.29 GB, free: 14.84 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001078/1.194, allocations: 0.611 MB / 1.291 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/1.194, allocations: 202.9 kB / 1.291 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/1.195, allocations: 257.2 kB / 1.291 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.195, allocations: 11.47 kB / 1.291 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.132e-05/1.195, allocations: 8.625 kB / 1.291 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.195, allocations: 2.625 kB / 1.291 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/1.198, allocations: 2.329 MB / 1.294 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.199, allocations: 1.062 kB / 1.294 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/1.199, allocations: 68.88 kB / 1.294 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/1.199, allocations: 251.1 kB / 1.294 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/1.199, allocations: 22.61 kB / 1.294 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004435/1.204, allocations: 4.372 MB / 1.298 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.204, allocations: 2.859 kB / 1.298 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.207, allocations: 1.573 MB / 1.3 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/1.207, allocations: 309 kB / 1.3 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/1.208, allocations: 23.03 kB / 1.3 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/1.208, allocations: 50 kB / 1.3 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.208, allocations: 73.97 kB / 1.3 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/1.208, allocations: 31.94 kB / 1.3 GB, free: 10.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002662/1.211, allocations: 2.427 MB / 1.303 GB, free: 10.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.211, allocations: 0 / 1.303 GB, free: 10.81 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001133/1.212, allocations: 290.3 kB / 1.303 GB, free: 10.79 MB / 1.014 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.00168/1.214, allocations: 494.1 kB / 1.303 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002004/1.216, allocations: 1.053 MB / 1.304 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.216, allocations: 0 / 1.304 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.217, allocations: 0.694 MB / 1.305 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.218, allocations: 263.4 kB / 1.305 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/1.224, allocations: 4.553 MB / 1.31 GB, free: 8.215 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.226, allocations: 1.534 MB / 1.311 GB, free: 7.477 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005927/1.226, allocations: 148.5 kB / 1.311 GB, free: 7.445 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/1.226, allocations: 64.66 kB / 1.311 GB, free: 7.438 MB / 1.014 GB Notification: Performance of SimCode: time 1.212e-06/1.226, allocations: 0 / 1.311 GB, free: 7.438 MB / 1.014 GB Notification: Performance of Templates: time 0.02516/1.252, allocations: 13.62 MB / 1.325 GB, free: 6.293 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches