Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase10,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.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_10_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.001308/0.001308, allocations: 105 kB / 15.99 MB, free: 6.344 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.001313/0.001313, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.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.512/2.512, allocations: 437.1 MB / 0.7107 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 64.98 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.629/0.9259, allocations: 155.4 MB / 1.169 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02985/0.9558, allocations: 21.81 MB / 1.191 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.9585, allocations: 53.25 kB / 1.191 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.9616, allocations: 2.133 MB / 1.193 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.9645, allocations: 1.395 MB / 1.194 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.9666, allocations: 0.5454 MB / 1.195 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003125/0.9697, allocations: 1.933 MB / 1.196 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.9718, allocations: 1.132 MB / 1.198 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.9735, allocations: 0.9365 MB / 1.198 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.9757, allocations: 1.647 MB / 1.2 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.9761, allocations: 100.1 kB / 1.2 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005712/0.9766, allocations: 141.7 kB / 1.2 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006283/0.9773, allocations: 0.5845 MB / 1.201 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.9784, allocations: 0.8033 MB / 1.202 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.9801, allocations: 1.472 MB / 1.203 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9801, allocations: 0 / 1.203 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9801, allocations: 0 / 1.203 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001064/0.9802, allocations: 0 / 1.203 GB, free: 9.141 MB / 0.9044 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.004342/0.9846, allocations: 2.353 MB / 1.205 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.9846, allocations: 8.672 kB / 1.205 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.985, allocations: 241.2 kB / 1.206 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.9865, allocations: 1.036 MB / 1.207 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.9867, allocations: 92.88 kB / 1.207 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.9868, allocations: 67.44 kB / 1.207 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.9884, allocations: 0.7848 MB / 1.208 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.9884, allocations: 10.47 kB / 1.208 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.9885, allocations: 25.34 kB / 1.208 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.9885, allocations: 17.78 kB / 1.208 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.9898, allocations: 0.6275 MB / 1.208 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005947/0.9958, allocations: 3.747 MB / 1.212 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.9975, allocations: 0.7374 MB / 1.213 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.9983, allocations: 431.9 kB / 1.213 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.9984, allocations: 12.55 kB / 1.213 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008695/0.9992, allocations: 452.1 kB / 1.213 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 4.619e-06/0.9993, allocations: 0 / 1.213 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.00458/1.004, allocations: 1.834 MB / 1.215 GB, free: 14.79 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/1.004, allocations: 68.05 kB / 1.215 GB, free: 14.71 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/1.008, allocations: 3.355 MB / 1.219 GB, free: 11.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/1.008, allocations: 53.69 kB / 1.219 GB, free: 11.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008772/1.009, allocations: 0.9213 MB / 1.22 GB, free: 10.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.01, allocations: 236.7 kB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/1.01, allocations: 130.7 kB / 1.22 GB, free: 9.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.01, allocations: 345.9 kB / 1.22 GB, free: 9.629 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007109/1.011, allocations: 321.8 kB / 1.221 GB, free: 9.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/1.012, allocations: 465 kB / 1.221 GB, free: 8.812 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/1.013, allocations: 0.7509 MB / 1.222 GB, free: 8.023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.013, allocations: 11.94 kB / 1.222 GB, free: 8.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002532/1.015, allocations: 1.243 MB / 1.223 GB, free: 6.754 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.016, allocations: 12.09 kB / 1.223 GB, free: 6.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.016, allocations: 4 kB / 1.223 GB, free: 6.738 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007674/1.016, allocations: 263.6 kB / 1.223 GB, free: 6.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/1.017, allocations: 131.8 kB / 1.223 GB, free: 6.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/1.022, allocations: 4.762 MB / 1.228 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/1.023, allocations: 111.2 kB / 1.228 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/1.023, allocations: 31.98 kB / 1.228 GB, free: 1.176 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.0009967/1.024, allocations: 0.603 MB / 1.229 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.025, allocations: 213.3 kB / 1.229 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/1.025, allocations: 265.1 kB / 1.229 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.025, allocations: 8 kB / 1.229 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.025, allocations: 7.938 kB / 1.229 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.025, allocations: 3.984 kB / 1.229 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/1.029, allocations: 2.408 MB / 1.232 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.029, allocations: 0 / 1.232 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/1.03, allocations: 75.89 kB / 1.232 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006738/1.03, allocations: 249.5 kB / 1.232 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/1.03, allocations: 19.98 kB / 1.232 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/1.036, allocations: 4.747 MB / 1.236 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.036, allocations: 0 / 1.236 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/1.039, allocations: 1.636 MB / 1.238 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007745/1.04, allocations: 326.2 kB / 1.238 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/1.04, allocations: 23.94 kB / 1.238 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/1.041, allocations: 47.94 kB / 1.238 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.041, allocations: 68.56 kB / 1.239 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/1.041, allocations: 27.98 kB / 1.239 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003431/1.044, allocations: 2.46 MB / 1.241 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.044, allocations: 0 / 1.241 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001227/1.046, allocations: 315.5 kB / 1.241 GB, free: 3.281 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.001821/1.047, allocations: 487.1 kB / 1.242 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002575/1.05, allocations: 1.187 MB / 1.243 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.05, allocations: 0 / 1.243 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.051, allocations: 0.7105 MB / 1.244 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.053, allocations: 299.4 kB / 1.244 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/1.06, allocations: 4.728 MB / 1.248 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.061, allocations: 1.54 MB / 1.25 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.062, allocations: 75.41 kB / 1.25 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/1.062, allocations: 4 kB / 1.25 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.04755/1.109, allocations: 32.62 MB / 1.282 GB, free: 9.746 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches