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.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.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.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 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.001341/0.001341, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.812/2.812, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.89 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6221, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.188/0.8101, allocations: 156.8 MB / 1.17 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02891/0.8391, allocations: 21.74 MB / 1.192 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.841, allocations: 55.69 kB / 1.192 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.8428, allocations: 1.169 MB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.8446, allocations: 0.8562 MB / 1.194 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.846, allocations: 436 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.848, allocations: 1.247 MB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.8491, allocations: 0.6889 MB / 1.196 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009501/0.8501, allocations: 0.5491 MB / 1.196 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.8512, allocations: 0.9099 MB / 1.197 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.8514, allocations: 68 kB / 1.197 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.8517, allocations: 116 kB / 1.198 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.852, allocations: 316.7 kB / 1.198 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.8525, allocations: 492.8 kB / 1.198 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.8538, allocations: 1.179 MB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8538, allocations: 8 kB / 1.199 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8538, allocations: 0 / 1.199 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.8538, allocations: 0 / 1.199 GB, free: 7.27 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.00238/0.8562, allocations: 1.475 MB / 1.201 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.8563, allocations: 8.031 kB / 1.201 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.8565, allocations: 135.3 kB / 1.201 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.8573, allocations: 0.655 MB / 1.202 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.8575, allocations: 74.69 kB / 1.202 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/0.8576, allocations: 44 kB / 1.202 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.8586, allocations: 0.5184 MB / 1.202 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.8586, allocations: 4 kB / 1.202 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.8587, allocations: 19.98 kB / 1.202 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.8587, allocations: 15.98 kB / 1.202 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009032/0.8596, allocations: 415.7 kB / 1.203 GB, free: 3.797 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.00381/0.8634, allocations: 2.807 MB / 1.205 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.8645, allocations: 453.1 kB / 1.206 GB, free: 296 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.8651, allocations: 285.3 kB / 1.206 GB, free: 8 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.8652, allocations: 8.594 kB / 1.206 GB, free: 0 / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.8658, allocations: 305.8 kB / 1.206 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.8658, allocations: 0 / 1.206 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.003105/0.8689, allocations: 1.246 MB / 1.208 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.869, allocations: 59.41 kB / 1.208 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.871, allocations: 1.755 MB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.8711, allocations: 37.7 kB / 1.21 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.8715, allocations: 0.5179 MB / 1.21 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.8717, allocations: 145.9 kB / 1.21 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.8719, allocations: 98.25 kB / 1.21 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8721, allocations: 330 kB / 1.211 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.8726, allocations: 213 kB / 1.211 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.8732, allocations: 328.9 kB / 1.211 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009916/0.8742, allocations: 0.5112 MB / 1.212 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.8742, allocations: 8 kB / 1.212 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002079/0.8763, allocations: 0.8411 MB / 1.212 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.8763, allocations: 8 kB / 1.212 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.8764, allocations: 4 kB / 1.212 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006794/0.877, allocations: 188.8 kB / 1.213 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.8775, allocations: 91.88 kB / 1.213 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.8815, allocations: 3.006 MB / 1.216 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.882, allocations: 79.55 kB / 1.216 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.8821, allocations: 16 kB / 1.216 GB, free: 5.922 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.0005975/0.8827, allocations: 387.3 kB / 1.216 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.8829, allocations: 118.4 kB / 1.216 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.8831, allocations: 135.7 kB / 1.216 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8831, allocations: 4 kB / 1.216 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.8831, allocations: 4 kB / 1.216 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.8831, allocations: 7.984 kB / 1.216 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.8858, allocations: 1.562 MB / 1.218 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8858, allocations: 0 / 1.218 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.8861, allocations: 47.95 kB / 1.218 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/0.8866, allocations: 193.5 kB / 1.218 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.8867, allocations: 15.98 kB / 1.218 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005198/0.8919, allocations: 4.563 MB / 1.223 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8919, allocations: 3.828 kB / 1.223 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.8939, allocations: 1.057 MB / 1.224 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.8943, allocations: 219.6 kB / 1.224 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.8944, allocations: 12 kB / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.8947, allocations: 31.97 kB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.8949, allocations: 51.92 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.8949, allocations: 15.98 kB / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001552/0.8965, allocations: 1.281 MB / 1.225 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8965, allocations: 0 / 1.225 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008184/0.8973, allocations: 199.7 kB / 1.225 GB, free: 11.64 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.001799/0.8991, allocations: 485.7 kB / 1.226 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.9009, allocations: 0.771 MB / 1.227 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9009, allocations: 0 / 1.227 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009872/0.9019, allocations: 0.5474 MB / 1.227 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.903, allocations: 203.8 kB / 1.227 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.907, allocations: 2.392 MB / 1.23 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/0.9079, allocations: 1.157 MB / 1.231 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003166/0.9082, allocations: 84.8 kB / 1.231 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.9084, allocations: 47.42 kB / 1.231 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.9084, allocations: 0 / 1.231 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of Templates: time 0.0216/0.93, allocations: 10.45 MB / 1.241 GB, free: 11.75 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=400 -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/jenkins/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