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.001189/0.001189, allocations: 108.7 kB / 16.41 MB, free: 6.445 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.001183/0.001183, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.14 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.463/2.463, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 75.88 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7954, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1609/0.9563, allocations: 157.5 MB / 1.321 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02708/0.9835, allocations: 22.07 MB / 1.343 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.9859, allocations: 55.69 kB / 1.343 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.9887, allocations: 2.171 MB / 1.345 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.9914, allocations: 1.464 MB / 1.346 GB, free: 11.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.9933, allocations: 0.6291 MB / 1.347 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002712/0.9961, allocations: 1.929 MB / 1.349 GB, free: 9.305 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.998, allocations: 1.115 MB / 1.35 GB, free: 8.164 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.9997, allocations: 0.9269 MB / 1.351 GB, free: 7.234 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/1.002, allocations: 1.588 MB / 1.352 GB, free: 5.641 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/1.002, allocations: 96 kB / 1.352 GB, free: 5.547 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005795/1.003, allocations: 144 kB / 1.353 GB, free: 5.406 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005746/1.003, allocations: 0.5472 MB / 1.353 GB, free: 4.855 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/1.005, allocations: 0.8068 MB / 1.354 GB, free: 4.043 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/1.007, allocations: 1.941 MB / 1.356 GB, free: 2.098 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.007, allocations: 0 / 1.356 GB, free: 2.098 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.616e-06/1.007, allocations: 3.984 kB / 1.356 GB, free: 2.094 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.184e-05/1.007, allocations: 0 / 1.356 GB, free: 2.094 MB / 1.076 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.004786/1.012, allocations: 2.43 MB / 1.358 GB, free: 15.6 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.012, allocations: 12.56 kB / 1.358 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/1.013, allocations: 259.3 kB / 1.358 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/1.014, allocations: 1.056 MB / 1.359 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/1.015, allocations: 87 kB / 1.36 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/1.015, allocations: 72 kB / 1.36 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/1.016, allocations: 0.7767 MB / 1.36 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.016, allocations: 7.953 kB / 1.36 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/1.016, allocations: 28 kB / 1.36 GB, free: 13.22 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.016, allocations: 16 kB / 1.36 GB, free: 13.2 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/1.018, allocations: 0.6452 MB / 1.361 GB, free: 12.56 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005559/1.023, allocations: 3.722 MB / 1.365 GB, free: 8.578 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/1.025, allocations: 0.732 MB / 1.365 GB, free: 7.84 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/1.026, allocations: 434.3 kB / 1.366 GB, free: 7.414 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/1.026, allocations: 16.53 kB / 1.366 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008235/1.027, allocations: 448.1 kB / 1.366 GB, free: 6.953 MB / 1.092 GB Notification: Performance of pre-optimization done (n=73): time 3.697e-06/1.027, allocations: 0 / 1.366 GB, free: 6.953 MB / 1.092 GB Notification: Performance of matching and sorting (n=73): time 0.004236/1.031, allocations: 1.851 MB / 1.368 GB, free: 5.051 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/1.031, allocations: 60.06 kB / 1.368 GB, free: 4.98 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/1.035, allocations: 3.367 MB / 1.371 GB, free: 1.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.623e-05/1.035, allocations: 45.7 kB / 1.371 GB, free: 1.539 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/1.036, allocations: 0.9297 MB / 1.372 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/1.036, allocations: 246 kB / 1.373 GB, free: 372 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/1.036, allocations: 138.7 kB / 1.373 GB, free: 224 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.036, allocations: 337.9 kB / 1.373 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/1.037, allocations: 321.8 kB / 1.373 GB, free: 15.57 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/1.038, allocations: 472 kB / 1.374 GB, free: 15.06 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/1.039, allocations: 0.7471 MB / 1.375 GB, free: 14.28 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.039, allocations: 4 kB / 1.375 GB, free: 14.28 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002475/1.042, allocations: 1.256 MB / 1.376 GB, free: 13 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.042, allocations: 12.09 kB / 1.376 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.042, allocations: 4 kB / 1.376 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/1.042, allocations: 263.5 kB / 1.376 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/1.043, allocations: 139.8 kB / 1.376 GB, free: 12.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/1.048, allocations: 4.76 MB / 1.381 GB, free: 7.551 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/1.049, allocations: 103.4 kB / 1.381 GB, free: 7.449 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/1.049, allocations: 28 kB / 1.381 GB, free: 7.422 MB / 1.107 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.0008896/1.05, allocations: 0.609 MB / 1.382 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/1.05, allocations: 218.5 kB / 1.382 GB, free: 6.59 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/1.05, allocations: 265.1 kB / 1.382 GB, free: 6.328 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.05, allocations: 11.94 kB / 1.382 GB, free: 6.316 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/1.05, allocations: 4 kB / 1.382 GB, free: 6.312 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.05, allocations: 3.984 kB / 1.382 GB, free: 6.309 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/1.054, allocations: 2.421 MB / 1.384 GB, free: 3.824 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.055, allocations: 4 kB / 1.384 GB, free: 3.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/1.055, allocations: 71.89 kB / 1.384 GB, free: 3.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/1.055, allocations: 247.4 kB / 1.385 GB, free: 3.504 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-05/1.056, allocations: 19.98 kB / 1.385 GB, free: 3.484 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/1.06, allocations: 4.751 MB / 1.389 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.06, allocations: 0 / 1.389 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/1.063, allocations: 1.647 MB / 1.391 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/1.064, allocations: 335.4 kB / 1.391 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/1.064, allocations: 20 kB / 1.391 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/1.064, allocations: 39.95 kB / 1.391 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.065, allocations: 76.55 kB / 1.391 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/1.065, allocations: 20 kB / 1.391 GB, free: 12.28 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002778/1.067, allocations: 2.464 MB / 1.394 GB, free: 9.805 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.31e-07/1.067, allocations: 0 / 1.394 GB, free: 9.805 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001024/1.068, allocations: 299.7 kB / 1.394 GB, free: 9.512 MB / 1.123 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.001216/1.07, allocations: 495.3 kB / 1.395 GB, free: 9.207 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002125/1.072, allocations: 1.098 MB / 1.396 GB, free: 8.082 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.072, allocations: 3.75 kB / 1.396 GB, free: 8.078 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.073, allocations: 0.7106 MB / 1.396 GB, free: 7.344 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.074, allocations: 304.1 kB / 1.397 GB, free: 7.055 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/1.081, allocations: 4.215 MB / 1.401 GB, free: 2.793 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.082, allocations: 1.548 MB / 1.402 GB, free: 1.215 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/1.083, allocations: 71.42 kB / 1.402 GB, free: 1.148 MB / 1.123 GB Notification: Performance of SimCode: time 1.403e-06/1.083, allocations: 0 / 1.402 GB, free: 1.148 MB / 1.123 GB Notification: Performance of Templates: time 0.04308/1.126, allocations: 32.72 MB / 1.434 GB, free: 448 kB / 1.154 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=480 -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