Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.00105, allocations: 98.88 kB / 16.02 MB, free: 76 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.001078/0.001078, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.348 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.665/2.665, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 12.28 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6745, allocations: 142.4 MB / 0.9557 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1729/0.8475, allocations: 153.1 MB / 1.105 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02882/0.8764, allocations: 21.7 MB / 1.126 GB, free: 80 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.8785, allocations: 51.69 kB / 1.126 GB, free: 28 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.8813, allocations: 2.121 MB / 1.129 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.8841, allocations: 1.402 MB / 1.13 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.8859, allocations: 0.539 MB / 1.13 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002796/0.8887, allocations: 2.07 MB / 1.132 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.8906, allocations: 0.9879 MB / 1.133 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.892, allocations: 0.7825 MB / 1.134 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.8941, allocations: 1.53 MB / 1.136 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.8943, allocations: 40 kB / 1.136 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.8948, allocations: 83.98 kB / 1.136 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00055/0.8953, allocations: 0.512 MB / 1.136 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.8963, allocations: 0.7539 MB / 1.137 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.8979, allocations: 1.419 MB / 1.138 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8979, allocations: 7.938 kB / 1.138 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8979, allocations: 0 / 1.138 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.834e-05/0.898, allocations: 0 / 1.138 GB, free: 3.727 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003574/0.9016, allocations: 2.066 MB / 1.14 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9016, allocations: 8.031 kB / 1.14 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/0.9021, allocations: 237.9 kB / 1.141 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.9037, allocations: 1.027 MB / 1.142 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.9038, allocations: 95 kB / 1.142 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.904, allocations: 71.98 kB / 1.142 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.9056, allocations: 0.7923 MB / 1.143 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.9056, allocations: 4 kB / 1.143 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.9057, allocations: 31.97 kB / 1.143 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.9057, allocations: 20 kB / 1.143 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.9071, allocations: 0.6531 MB / 1.143 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005688/0.9128, allocations: 3.795 MB / 1.147 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.9145, allocations: 0.7684 MB / 1.148 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008222/0.9154, allocations: 442.1 kB / 1.148 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.9154, allocations: 8.562 kB / 1.148 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008525/0.9163, allocations: 464 kB / 1.149 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 5.22e-06/0.9163, allocations: 3.984 kB / 1.149 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.004794/0.9211, allocations: 1.865 MB / 1.15 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.9212, allocations: 64.05 kB / 1.151 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00458/0.9258, allocations: 3.363 MB / 1.154 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.926, allocations: 49.69 kB / 1.154 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008325/0.9268, allocations: 0.9252 MB / 1.155 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.9271, allocations: 236.7 kB / 1.155 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.9272, allocations: 69.67 kB / 1.155 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9273, allocations: 341.9 kB / 1.155 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.9281, allocations: 337.8 kB / 1.156 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008152/0.9289, allocations: 492 kB / 1.156 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.9303, allocations: 0.7741 MB / 1.157 GB, free: 148 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.9303, allocations: 0 / 1.157 GB, free: 148 kB / 0.9044 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00258/0.9329, allocations: 1.288 MB / 1.158 GB, free: 14.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.9329, allocations: 8 kB / 1.158 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.933, allocations: 4 kB / 1.158 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007549/0.9337, allocations: 263.2 kB / 1.158 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.9343, allocations: 147.7 kB / 1.159 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.9392, allocations: 4.37 MB / 1.163 GB, free: 9.785 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.9401, allocations: 115.4 kB / 1.163 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.9403, allocations: 35.98 kB / 1.163 GB, free: 9.637 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.9413, allocations: 0.6145 MB / 1.164 GB, free: 9.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.9416, allocations: 209.3 kB / 1.164 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.9422, allocations: 261.1 kB / 1.164 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-06/0.9422, allocations: 8 kB / 1.164 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.9422, allocations: 4 kB / 1.164 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.9422, allocations: 3.984 kB / 1.164 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.9463, allocations: 2.443 MB / 1.166 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9464, allocations: 4 kB / 1.166 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.9467, allocations: 75.89 kB / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006464/0.9474, allocations: 245.5 kB / 1.167 GB, free: 5.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.9474, allocations: 19.98 kB / 1.167 GB, free: 5.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004663/0.9521, allocations: 4.368 MB / 1.171 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9521, allocations: 0 / 1.171 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.9552, allocations: 1.66 MB / 1.173 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/0.9558, allocations: 338.2 kB / 1.173 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9559, allocations: 23.88 kB / 1.173 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.9565, allocations: 55.94 kB / 1.173 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.9567, allocations: 76.55 kB / 1.173 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.9567, allocations: 27.98 kB / 1.173 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002786/0.9595, allocations: 2.456 MB / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9595, allocations: 0 / 1.176 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001137/0.9607, allocations: 299.5 kB / 1.176 GB, free: 12.06 MB / 0.9356 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001213/0.9619, allocations: 0.4888 MB / 1.176 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.9642, allocations: 1.127 MB / 1.177 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.9642, allocations: 4.062 kB / 1.177 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.9654, allocations: 0.7138 MB / 1.178 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.967, allocations: 279.6 kB / 1.178 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00667/0.9737, allocations: 4.819 MB / 1.183 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.9749, allocations: 1.544 MB / 1.185 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.9752, allocations: 67.42 kB / 1.185 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of SimCode: time 9.81e-07/0.9752, allocations: 0 / 1.185 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of Templates: time 0.04526/1.021, allocations: 32.25 MB / 1.216 GB, free: 2.883 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches