Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.TestCase4,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.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_9_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.007612/0.007612, allocations: 101.1 kB / 15.88 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.001832/0.001832, allocations: 193.5 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.3 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 67.84 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6494/0.6509, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1719/0.8229, allocations: 154.5 MB / 1.1 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02868/0.8517, allocations: 21.6 MB / 1.122 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.8547, allocations: 47.69 kB / 1.122 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.8564, allocations: 1.126 MB / 1.123 GB, free: 240 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.8582, allocations: 0.8215 MB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.8595, allocations: 378.8 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.8612, allocations: 1.345 MB / 1.125 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007693/0.862, allocations: 0.6217 MB / 1.126 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.8626, allocations: 0.4944 MB / 1.126 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009961/0.8636, allocations: 0.9059 MB / 1.127 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.008e-05/0.8637, allocations: 36 kB / 1.127 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.864, allocations: 83.92 kB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.8643, allocations: 304.8 kB / 1.128 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.8647, allocations: 460.8 kB / 1.128 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008517/0.8655, allocations: 0.9083 MB / 1.129 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.8656, allocations: 4 kB / 1.129 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8656, allocations: 3.938 kB / 1.129 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.8656, allocations: 4 kB / 1.129 GB, free: 9.875 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.002398/0.868, allocations: 1.475 MB / 1.13 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8681, allocations: 12.03 kB / 1.13 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.8682, allocations: 135.2 kB / 1.13 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.8691, allocations: 0.655 MB / 1.131 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.8693, allocations: 70.69 kB / 1.131 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.8693, allocations: 51.91 kB / 1.131 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.8703, allocations: 0.5184 MB / 1.132 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.8703, allocations: 3.938 kB / 1.132 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.8704, allocations: 16 kB / 1.132 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.8704, allocations: 12 kB / 1.132 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.8712, allocations: 419.7 kB / 1.132 GB, free: 6.395 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.003753/0.875, allocations: 2.803 MB / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.8761, allocations: 455.4 kB / 1.135 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.8766, allocations: 287.3 kB / 1.136 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.8767, allocations: 4.656 kB / 1.136 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005944/0.8773, allocations: 301.8 kB / 1.136 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 4.168e-06/0.8773, allocations: 0 / 1.136 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002968/0.8803, allocations: 1.246 MB / 1.137 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.8803, allocations: 55.41 kB / 1.137 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.8822, allocations: 1.752 MB / 1.139 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.8822, allocations: 37.7 kB / 1.139 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.8827, allocations: 0.5218 MB / 1.139 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.8828, allocations: 149.9 kB / 1.14 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.883, allocations: 94.25 kB / 1.14 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8831, allocations: 330 kB / 1.14 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.8836, allocations: 228.9 kB / 1.14 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.8842, allocations: 324.9 kB / 1.14 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/0.8851, allocations: 0.5137 MB / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.8851, allocations: 0 / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001686/0.8868, allocations: 0.8472 MB / 1.142 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.8868, allocations: 10.31 kB / 1.142 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8868, allocations: 7.984 kB / 1.142 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.8874, allocations: 180.7 kB / 1.142 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.8877, allocations: 96 kB / 1.142 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.8912, allocations: 2.748 MB / 1.145 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.8918, allocations: 79.39 kB / 1.145 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.8918, allocations: 20 kB / 1.145 GB, free: 8.777 MB / 0.9044 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.0006327/0.8924, allocations: 384.9 kB / 1.145 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.8926, allocations: 114.6 kB / 1.145 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.8929, allocations: 143.6 kB / 1.145 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.8929, allocations: 4 kB / 1.145 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/0.8929, allocations: 4 kB / 1.145 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.8929, allocations: 3.984 kB / 1.145 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.8957, allocations: 1.562 MB / 1.147 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.8958, allocations: 11.97 kB / 1.147 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.896, allocations: 47.91 kB / 1.147 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.8965, allocations: 185.6 kB / 1.147 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.8965, allocations: 15.98 kB / 1.147 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/0.9007, allocations: 4.117 MB / 1.151 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9007, allocations: 0 / 1.151 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.9028, allocations: 1.069 MB / 1.152 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.9032, allocations: 215.5 kB / 1.153 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.9033, allocations: 15.98 kB / 1.153 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.9036, allocations: 35.97 kB / 1.153 GB, free: 500 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.9038, allocations: 55.86 kB / 1.153 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.9039, allocations: 15.98 kB / 1.153 GB, free: 428 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001585/0.9055, allocations: 1.277 MB / 1.154 GB, free: 15.14 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9055, allocations: 4 kB / 1.154 GB, free: 15.13 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009963/0.9065, allocations: 207.7 kB / 1.154 GB, free: 14.93 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,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.001431/0.9079, allocations: 0.4891 MB / 1.155 GB, free: 14.62 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.9097, allocations: 0.7188 MB / 1.155 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9097, allocations: 0 / 1.155 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009053/0.9106, allocations: 0.552 MB / 1.156 GB, free: 13.31 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.9116, allocations: 186.4 kB / 1.156 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.9157, allocations: 2.755 MB / 1.159 GB, free: 10.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.9165, allocations: 1.142 MB / 1.16 GB, free: 9.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.9166, allocations: 47.42 kB / 1.16 GB, free: 9.125 MB / 0.92 GB Notification: Performance of SimCode: time 6.21e-07/0.9167, allocations: 4 kB / 1.16 GB, free: 9.121 MB / 0.92 GB Notification: Performance of Templates: time 0.02532/0.942, allocations: 17.81 MB / 1.177 GB, free: 7.336 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches