Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TestCase5,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.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_10_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.008145/0.008145, allocations: 101 kB / 15.87 MB, free: 5.867 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.002011/0.002011, allocations: 197.1 kB / 16.79 MB, free: 5.809 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437 MB / 0.7106 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5648, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1475/0.7124, allocations: 155 MB / 1.169 GB, free: 7.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.7354, allocations: 21.85 MB / 1.19 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.7372, allocations: 55.62 kB / 1.19 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.7396, allocations: 2.109 MB / 1.192 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.7417, allocations: 1.363 MB / 1.193 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.7431, allocations: 0.5181 MB / 1.194 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.7452, allocations: 1.902 MB / 1.196 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.7465, allocations: 0.9916 MB / 1.197 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.7476, allocations: 0.7865 MB / 1.198 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.7493, allocations: 1.518 MB / 1.199 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.7495, allocations: 56 kB / 1.199 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.7499, allocations: 91.98 kB / 1.199 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004306/0.7503, allocations: 0.5157 MB / 1.2 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006929/0.751, allocations: 0.7328 MB / 1.2 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.7522, allocations: 1.396 MB / 1.202 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7522, allocations: 3.938 kB / 1.202 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7522, allocations: 0 / 1.202 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.683e-05/0.7523, allocations: 4 kB / 1.202 GB, free: 5.176 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003435/0.7557, allocations: 2.277 MB / 1.204 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.7557, allocations: 12.03 kB / 1.204 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.7561, allocations: 238 kB / 1.204 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.7573, allocations: 0.9915 MB / 1.205 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.7575, allocations: 83 kB / 1.205 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.7576, allocations: 75.86 kB / 1.205 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.7589, allocations: 0.729 MB / 1.206 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.7589, allocations: 0 / 1.206 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.759, allocations: 24 kB / 1.206 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.759, allocations: 16 kB / 1.206 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.7602, allocations: 0.5947 MB / 1.207 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.7648, allocations: 3.517 MB / 1.21 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.7663, allocations: 0.706 MB / 1.211 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.7671, allocations: 414.3 kB / 1.211 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.7671, allocations: 12.55 kB / 1.211 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007841/0.7679, allocations: 434.8 kB / 1.212 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/0.7679, allocations: 0 / 1.212 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.004118/0.7721, allocations: 1.796 MB / 1.213 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.7721, allocations: 59.97 kB / 1.213 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003275/0.7754, allocations: 3.308 MB / 1.217 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.7755, allocations: 45.7 kB / 1.217 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.7762, allocations: 0.8938 MB / 1.218 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.7764, allocations: 220.9 kB / 1.218 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.7766, allocations: 130.7 kB / 1.218 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7767, allocations: 341.9 kB / 1.218 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.7774, allocations: 305.7 kB / 1.219 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.7781, allocations: 443 kB / 1.219 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.7793, allocations: 0.7106 MB / 1.22 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.7793, allocations: 7.938 kB / 1.22 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002261/0.7816, allocations: 1.206 MB / 1.221 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7816, allocations: 9.5 kB / 1.221 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.7816, allocations: 4 kB / 1.221 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.7823, allocations: 265.5 kB / 1.221 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.7828, allocations: 131.8 kB / 1.221 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.7874, allocations: 4.379 MB / 1.225 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.7881, allocations: 95.33 kB / 1.226 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.7881, allocations: 31.98 kB / 1.226 GB, free: 11.82 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.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.0007702/0.7889, allocations: 0.6074 MB / 1.226 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.7892, allocations: 205.3 kB / 1.226 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.7896, allocations: 256.5 kB / 1.227 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.7896, allocations: 8 kB / 1.227 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.7896, allocations: 4 kB / 1.227 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.7896, allocations: 3.984 kB / 1.227 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.7933, allocations: 2.334 MB / 1.229 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7933, allocations: 0 / 1.229 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.7936, allocations: 67.89 kB / 1.229 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/0.7943, allocations: 256.1 kB / 1.229 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.7943, allocations: 19.98 kB / 1.229 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/0.7987, allocations: 4.364 MB / 1.234 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7987, allocations: 0 / 1.234 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.8014, allocations: 1.575 MB / 1.235 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.8019, allocations: 318.3 kB / 1.235 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.8021, allocations: 16 kB / 1.235 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.8026, allocations: 51.89 kB / 1.235 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.8027, allocations: 76.33 kB / 1.235 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.8028, allocations: 23.98 kB / 1.236 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002479/0.8053, allocations: 2.431 MB / 1.238 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8053, allocations: 0 / 1.238 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009334/0.8062, allocations: 291.5 kB / 1.238 GB, free: 14.54 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,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.001119/0.8074, allocations: 493.2 kB / 1.239 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001936/0.8093, allocations: 1.053 MB / 1.24 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.8093, allocations: 0 / 1.24 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.8104, allocations: 0.6866 MB / 1.24 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.8118, allocations: 261.1 kB / 1.241 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00594/0.8177, allocations: 4.629 MB / 1.245 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.8189, allocations: 1.516 MB / 1.247 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.8192, allocations: 67.42 kB / 1.247 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of SimCode: time 1.963e-06/0.8192, allocations: 0 / 1.247 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of Templates: time 0.4764/1.296, allocations: 31.45 MB / 1.277 GB, free: 219.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches