Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001882/0.001882, allocations: 188 kB / 16.25 MB, free: 6.625 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 71.88 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6051/0.6081, allocations: 151.6 MB / 1.017 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.2663/0.8744, allocations: 155.4 MB / 1.169 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0411/0.9155, allocations: 21.82 MB / 1.19 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.9187, allocations: 51.69 kB / 1.19 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.9227, allocations: 2.121 MB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.9262, allocations: 1.406 MB / 1.193 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.9284, allocations: 0.5449 MB / 1.194 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003727/0.9322, allocations: 1.933 MB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.9345, allocations: 1.133 MB / 1.197 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.9366, allocations: 0.923 MB / 1.198 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.9396, allocations: 1.658 MB / 1.199 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.9398, allocations: 96 kB / 1.199 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.9403, allocations: 144 kB / 1.2 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.9411, allocations: 0.582 MB / 1.2 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.9422, allocations: 0.803 MB / 1.201 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.9449, allocations: 1.899 MB / 1.203 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.9449, allocations: 4 kB / 1.203 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9449, allocations: 0 / 1.203 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.9449, allocations: 0 / 1.203 GB, free: 3.68 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004464/0.9494, allocations: 2.356 MB / 1.205 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.9495, allocations: 8.031 kB / 1.205 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.9499, allocations: 237.9 kB / 1.205 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.9515, allocations: 1.019 MB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.9517, allocations: 94.98 kB / 1.206 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.9518, allocations: 71.94 kB / 1.207 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.9534, allocations: 0.7884 MB / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.9534, allocations: 0 / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/0.9535, allocations: 27.94 kB / 1.207 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.9535, allocations: 19.94 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.9548, allocations: 0.6413 MB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.9604, allocations: 3.741 MB / 1.212 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.9621, allocations: 0.7368 MB / 1.212 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008285/0.9629, allocations: 430.3 kB / 1.213 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.963, allocations: 8.562 kB / 1.213 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008931/0.9639, allocations: 456 kB / 1.213 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 2.936e-06/0.9639, allocations: 0 / 1.213 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73): time 0.004551/0.9685, allocations: 1.822 MB / 1.215 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.9686, allocations: 64.06 kB / 1.215 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/0.9726, allocations: 3.366 MB / 1.218 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.9727, allocations: 45.7 kB / 1.218 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008914/0.9736, allocations: 0.933 MB / 1.219 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.9738, allocations: 228.8 kB / 1.219 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.9741, allocations: 134.7 kB / 1.22 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.9743, allocations: 345.9 kB / 1.22 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.9751, allocations: 325.8 kB / 1.22 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.9759, allocations: 468 kB / 1.221 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.9773, allocations: 0.7503 MB / 1.221 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9773, allocations: 3.938 kB / 1.221 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002636/0.98, allocations: 1.253 MB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.98, allocations: 8 kB / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.98, allocations: 0 / 1.223 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008293/0.9809, allocations: 261.6 kB / 1.223 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.9814, allocations: 139.8 kB / 1.223 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.9872, allocations: 4.753 MB / 1.228 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/0.9882, allocations: 115.1 kB / 1.228 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.9883, allocations: 28 kB / 1.228 GB, free: 9.133 MB / 0.9825 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00104/0.9893, allocations: 0.6103 MB / 1.228 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.9896, allocations: 213.3 kB / 1.229 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.99, allocations: 265.1 kB / 1.229 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.99, allocations: 11.94 kB / 1.229 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.99, allocations: 4 kB / 1.229 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.99, allocations: 3.984 kB / 1.229 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/0.9942, allocations: 2.416 MB / 1.231 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9942, allocations: 0 / 1.231 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.9946, allocations: 71.89 kB / 1.231 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006828/0.9953, allocations: 255.7 kB / 1.232 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.9954, allocations: 20 kB / 1.232 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/1.001, allocations: 4.741 MB / 1.236 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.001, allocations: 3.938 kB / 1.236 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/1.004, allocations: 1.629 MB / 1.238 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/1.005, allocations: 330.2 kB / 1.238 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/1.005, allocations: 16 kB / 1.238 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/1.006, allocations: 47.95 kB / 1.238 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/1.006, allocations: 76.55 kB / 1.238 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.006, allocations: 27.98 kB / 1.238 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003308/1.009, allocations: 2.464 MB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.745e-06/1.009, allocations: 0 / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001209/1.01, allocations: 307.5 kB / 1.241 GB, free: 11.23 MB / 0.9981 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001924/1.012, allocations: 488.4 kB / 1.241 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002803/1.015, allocations: 1.195 MB / 1.243 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.015, allocations: 0 / 1.243 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/1.016, allocations: 0.7027 MB / 1.243 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.018, allocations: 294.8 kB / 1.244 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006956/1.025, allocations: 4.656 MB / 1.248 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.026, allocations: 1.556 MB / 1.25 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005912/1.027, allocations: 158.6 kB / 1.25 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.027, allocations: 71.42 kB / 1.25 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.027, allocations: 3.938 kB / 1.25 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.4764/1.504, allocations: 14.8 MB / 1.264 GB, free: 229.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches