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.001342/0.001342, 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.001319/0.001319, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.457 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.783/2.783, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 63.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.6594, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1859/0.8453, allocations: 154.6 MB / 1.168 GB, free: 7.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03188/0.8773, allocations: 21.49 MB / 1.189 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.8794, allocations: 47.69 kB / 1.189 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.8813, allocations: 1.126 MB / 1.19 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.883, allocations: 0.8216 MB / 1.191 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.8843, allocations: 394.9 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.886, allocations: 1.247 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009392/0.8869, allocations: 0.6927 MB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.8877, allocations: 0.5607 MB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.8887, allocations: 0.9489 MB / 1.194 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.8888, allocations: 68 kB / 1.195 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.8891, allocations: 112 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.8894, allocations: 336.7 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.8899, allocations: 492.8 kB / 1.195 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.8912, allocations: 1.183 MB / 1.197 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8912, allocations: 0 / 1.197 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8912, allocations: 0 / 1.197 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.8912, allocations: 0 / 1.197 GB, free: 9.949 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.002408/0.8937, allocations: 1.471 MB / 1.198 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8937, allocations: 12.03 kB / 1.198 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.8939, allocations: 135.3 kB / 1.198 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.8948, allocations: 0.655 MB / 1.199 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.8949, allocations: 74.69 kB / 1.199 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.895, allocations: 48 kB / 1.199 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.8961, allocations: 0.5223 MB / 1.199 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.8961, allocations: 0 / 1.199 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.8962, allocations: 16 kB / 1.199 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.8962, allocations: 11.98 kB / 1.199 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.897, allocations: 415.7 kB / 1.2 GB, free: 6.477 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.003852/0.9009, allocations: 2.811 MB / 1.203 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.902, allocations: 461.1 kB / 1.203 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005857/0.9026, allocations: 287.1 kB / 1.203 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.9026, allocations: 8.594 kB / 1.203 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/0.9032, allocations: 301.8 kB / 1.204 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.334e-06/0.9033, allocations: 0 / 1.204 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.003123/0.9064, allocations: 1.242 MB / 1.205 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.9064, allocations: 59.41 kB / 1.205 GB, free: 1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.9084, allocations: 1.74 MB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.9085, allocations: 45.7 kB / 1.207 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.909, allocations: 0.5179 MB / 1.207 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.9091, allocations: 149.9 kB / 1.207 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.9093, allocations: 98.23 kB / 1.207 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9095, allocations: 326 kB / 1.208 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.91, allocations: 217 kB / 1.208 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.9105, allocations: 324.9 kB / 1.208 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/0.9115, allocations: 0.5192 MB / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.9115, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001747/0.9133, allocations: 0.8489 MB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.9133, allocations: 4 kB / 1.21 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.9133, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.9139, allocations: 184.8 kB / 1.21 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.9143, allocations: 99.8 kB / 1.21 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/0.9181, allocations: 2.999 MB / 1.213 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.9187, allocations: 79.55 kB / 1.213 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.9187, allocations: 20 kB / 1.213 GB, free: 8.602 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.0005609/0.9193, allocations: 383.3 kB / 1.213 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.9195, allocations: 118.4 kB / 1.213 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.9197, allocations: 147.7 kB / 1.213 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9197, allocations: 4 kB / 1.213 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.9198, allocations: 0 / 1.213 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.9198, allocations: 11.92 kB / 1.213 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.9225, allocations: 1.562 MB / 1.215 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9225, allocations: 0 / 1.215 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.9228, allocations: 47.95 kB / 1.215 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005169/0.9233, allocations: 197.5 kB / 1.215 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.9233, allocations: 19.98 kB / 1.215 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.9284, allocations: 4.554 MB / 1.22 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9285, allocations: 0 / 1.22 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.9305, allocations: 1.064 MB / 1.221 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.9309, allocations: 215.6 kB / 1.221 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.931, allocations: 12 kB / 1.221 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.9314, allocations: 31.88 kB / 1.221 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.9315, allocations: 51.92 kB / 1.221 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.9316, allocations: 23.98 kB / 1.221 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001681/0.9333, allocations: 1.281 MB / 1.222 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9333, allocations: 0 / 1.222 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008908/0.9342, allocations: 203.7 kB / 1.222 GB, free: 14.3 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.001883/0.9361, allocations: 499.6 kB / 1.223 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.938, allocations: 0.7557 MB / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.938, allocations: 0 / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.939, allocations: 0.5555 MB / 1.224 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.9401, allocations: 201.4 kB / 1.224 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.9448, allocations: 2.696 MB / 1.227 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.9459, allocations: 1.157 MB / 1.228 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003711/0.9463, allocations: 84.78 kB / 1.228 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.9464, allocations: 47.42 kB / 1.228 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/0.9464, allocations: 0 / 1.228 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.02256/0.969, allocations: 10.22 MB / 1.238 GB, free: 14.33 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