Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002022/0.002021, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 68.12 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5707, allocations: 140.4 MB / 0.9491 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1528/0.7236, allocations: 154.6 MB / 1.1 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.7464, allocations: 21.49 MB / 1.121 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.7479, allocations: 51.69 kB / 1.121 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.7494, allocations: 1.122 MB / 1.122 GB, free: 304 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.7507, allocations: 0.8216 MB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.7517, allocations: 386.5 kB / 1.123 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.753, allocations: 1.255 MB / 1.125 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.7537, allocations: 0.6849 MB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.7543, allocations: 0.553 MB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009284/0.7553, allocations: 0.9567 MB / 1.127 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.7554, allocations: 64 kB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.7556, allocations: 108 kB / 1.127 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.7559, allocations: 344.6 kB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.7563, allocations: 488.8 kB / 1.128 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.7573, allocations: 1.183 MB / 1.129 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7573, allocations: 3.984 kB / 1.129 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7573, allocations: 0 / 1.129 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.7574, allocations: 0 / 1.129 GB, free: 9.457 MB / 0.8887 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.002072/0.7594, allocations: 1.475 MB / 1.13 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.7595, allocations: 16.03 kB / 1.13 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.7596, allocations: 135.2 kB / 1.13 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.7604, allocations: 0.6512 MB / 1.131 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.7605, allocations: 74.62 kB / 1.131 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.7606, allocations: 55.89 kB / 1.131 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.7615, allocations: 0.5184 MB / 1.132 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.7616, allocations: 0 / 1.132 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.7616, allocations: 16 kB / 1.132 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.7616, allocations: 12 kB / 1.132 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.7624, allocations: 415.7 kB / 1.132 GB, free: 5.977 MB / 0.8887 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.003221/0.7657, allocations: 2.727 MB / 1.135 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/0.7666, allocations: 448.5 kB / 1.135 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.7672, allocations: 309.3 kB / 1.136 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.7673, allocations: 8.656 kB / 1.136 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.7678, allocations: 287 kB / 1.136 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.7678, allocations: 4 kB / 1.136 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002554/0.7704, allocations: 1.144 MB / 1.137 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.7704, allocations: 59.41 kB / 1.137 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.7722, allocations: 1.76 MB / 1.139 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.7722, allocations: 37.7 kB / 1.139 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.7726, allocations: 0.5288 MB / 1.139 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.7727, allocations: 142.1 kB / 1.139 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.7729, allocations: 102.2 kB / 1.139 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.773, allocations: 329.9 kB / 1.14 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/0.7735, allocations: 209 kB / 1.14 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.774, allocations: 339.2 kB / 1.14 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.7749, allocations: 0.5267 MB / 1.141 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7749, allocations: 7.938 kB / 1.141 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001477/0.7764, allocations: 0.7994 MB / 1.142 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.7764, allocations: 11.98 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7765, allocations: 4 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.7769, allocations: 132.9 kB / 1.142 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.7772, allocations: 107.8 kB / 1.142 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.78, allocations: 2.598 MB / 1.144 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.7804, allocations: 83.45 kB / 1.144 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.7805, allocations: 28 kB / 1.145 GB, free: 8.703 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004299/0.7809, allocations: 381.3 kB / 1.145 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.781, allocations: 126.4 kB / 1.145 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.7813, allocations: 143.7 kB / 1.145 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.7813, allocations: 4 kB / 1.145 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.7813, allocations: 0 / 1.145 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7813, allocations: 3.984 kB / 1.145 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.7835, allocations: 1.486 MB / 1.147 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.7835, allocations: 0 / 1.147 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.7837, allocations: 51.91 kB / 1.147 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000366/0.7841, allocations: 161.6 kB / 1.147 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.7841, allocations: 12 kB / 1.147 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/0.7877, allocations: 4.023 MB / 1.151 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7877, allocations: 0 / 1.151 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.7894, allocations: 0.9945 MB / 1.152 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.7896, allocations: 215.6 kB / 1.152 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.7897, allocations: 11.94 kB / 1.152 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.79, allocations: 47.86 kB / 1.152 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.7902, allocations: 47.92 kB / 1.152 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.7902, allocations: 19.94 kB / 1.152 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001268/0.7915, allocations: 1.289 MB / 1.153 GB, free: 15.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7915, allocations: 0 / 1.153 GB, free: 15.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007129/0.7922, allocations: 211.7 kB / 1.153 GB, free: 15.11 MB / 0.92 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,12,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.001062/0.7933, allocations: 477.6 kB / 1.154 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.7947, allocations: 0.6976 MB / 1.155 GB, free: 14.11 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7947, allocations: 0 / 1.155 GB, free: 14.11 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000783/0.7955, allocations: 0.5251 MB / 1.155 GB, free: 13.56 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.7965, allocations: 211.7 kB / 1.155 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.8, allocations: 2.685 MB / 1.158 GB, free: 10.64 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.8007, allocations: 1.153 MB / 1.159 GB, free: 9.461 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.801, allocations: 96.78 kB / 1.159 GB, free: 9.367 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.8011, allocations: 47.38 kB / 1.159 GB, free: 9.32 MB / 0.92 GB Notification: Performance of SimCode: time 9.42e-07/0.8011, allocations: 0 / 1.159 GB, free: 9.32 MB / 0.92 GB Notification: Performance of Templates: time 0.01675/0.8179, allocations: 9.794 MB / 1.169 GB, free: 15.66 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches