Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase4,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.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_10_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.001178/0.001178, allocations: 91.92 kB / 16.02 MB, free: 80 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.001234/0.001234, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.27 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.571/2.571, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 12.28 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5866, allocations: 153.8 MB / 1.024 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1596/0.7462, allocations: 152.4 MB / 1.172 GB, free: 7.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02424/0.7705, allocations: 21.38 MB / 1.193 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.7722, allocations: 47.69 kB / 1.193 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.7739, allocations: 1.122 MB / 1.195 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.7755, allocations: 0.8139 MB / 1.195 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.7767, allocations: 379.2 kB / 1.196 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.7784, allocations: 1.337 MB / 1.197 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009366/0.7793, allocations: 0.5944 MB / 1.198 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008026/0.7802, allocations: 486.2 kB / 1.198 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.7813, allocations: 0.8825 MB / 1.199 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.7815, allocations: 28 kB / 1.199 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.7818, allocations: 67.98 kB / 1.199 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.7821, allocations: 296.7 kB / 1.199 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.7825, allocations: 470.5 kB / 1.2 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008651/0.7834, allocations: 0.8924 MB / 1.201 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7834, allocations: 0 / 1.201 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7834, allocations: 3.938 kB / 1.201 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.349e-05/0.7835, allocations: 0 / 1.201 GB, free: 10.15 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002251/0.7857, allocations: 1.316 MB / 1.202 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.7858, allocations: 12.03 kB / 1.202 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.786, allocations: 131.3 kB / 1.202 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.7869, allocations: 0.655 MB / 1.203 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.787, allocations: 78.69 kB / 1.203 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.7871, allocations: 51.94 kB / 1.203 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/0.7881, allocations: 0.5301 MB / 1.203 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7881, allocations: 0 / 1.203 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.7882, allocations: 19.98 kB / 1.203 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.7882, allocations: 12 kB / 1.203 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.789, allocations: 435.7 kB / 1.204 GB, free: 6.801 MB / 0.9512 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.003521/0.7926, allocations: 2.85 MB / 1.207 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.7936, allocations: 477 kB / 1.207 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.7942, allocations: 294.7 kB / 1.207 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.7942, allocations: 8.328 kB / 1.207 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.7948, allocations: 318.6 kB / 1.208 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.665e-06/0.7948, allocations: 0 / 1.208 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.003054/0.7979, allocations: 1.284 MB / 1.209 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.7979, allocations: 55.41 kB / 1.209 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.7999, allocations: 1.752 MB / 1.211 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.8, allocations: 37.7 kB / 1.211 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.8004, allocations: 0.5179 MB / 1.211 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.8006, allocations: 145.9 kB / 1.211 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.8007, allocations: 61.69 kB / 1.211 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8008, allocations: 330 kB / 1.212 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.8014, allocations: 237 kB / 1.212 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.802, allocations: 340.9 kB / 1.212 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.803, allocations: 0.5413 MB / 1.213 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.803, allocations: 448 / 1.213 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001848/0.8049, allocations: 0.8852 MB / 1.214 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.8049, allocations: 10.5 kB / 1.214 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8049, allocations: 3.984 kB / 1.214 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.8055, allocations: 192.8 kB / 1.214 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.8059, allocations: 103.9 kB / 1.214 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.8095, allocations: 2.743 MB / 1.217 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.8101, allocations: 99.45 kB / 1.217 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.8102, allocations: 20 kB / 1.217 GB, free: 8.969 MB / 0.9669 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.000555/0.8107, allocations: 383.8 kB / 1.217 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.8109, allocations: 118.6 kB / 1.217 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.8112, allocations: 139.6 kB / 1.217 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8112, allocations: 8 kB / 1.217 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.8112, allocations: 0 / 1.217 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.8112, allocations: 3.984 kB / 1.217 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.8139, allocations: 1.598 MB / 1.219 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8139, allocations: 0 / 1.219 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.8142, allocations: 55.97 kB / 1.219 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/0.8147, allocations: 189.6 kB / 1.219 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.8148, allocations: 8 kB / 1.219 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.8192, allocations: 4.139 MB / 1.223 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8192, allocations: 144 / 1.223 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.8212, allocations: 1.088 MB / 1.224 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.8215, allocations: 219.5 kB / 1.224 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.8216, allocations: 15.98 kB / 1.224 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.822, allocations: 39.97 kB / 1.224 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.8221, allocations: 59.8 kB / 1.225 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.8222, allocations: 15.98 kB / 1.225 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00142/0.8236, allocations: 1.284 MB / 1.226 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8236, allocations: 3.938 kB / 1.226 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008517/0.8245, allocations: 207.7 kB / 1.226 GB, free: 15.03 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.001122/0.8256, allocations: 480.6 kB / 1.226 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.8272, allocations: 0.7546 MB / 1.227 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8272, allocations: 0 / 1.227 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009696/0.8282, allocations: 0.5671 MB / 1.228 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.8293, allocations: 191.7 kB / 1.228 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.8332, allocations: 2.819 MB / 1.231 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.8339, allocations: 1.146 MB / 1.232 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.8341, allocations: 43.42 kB / 1.232 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/0.8341, allocations: 0 / 1.232 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of Templates: time 0.02526/0.8594, allocations: 17.62 MB / 1.249 GB, free: 7.543 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches