Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001401/0.001401, allocations: 102.2 kB / 16.27 MB, free: 6 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.001546/0.001546, allocations: 191 kB / 17.2 MB, free: 5.609 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.64 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3205, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.6979/1.018, allocations: 157.6 MB / 1.218 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02739/1.046, allocations: 22.08 MB / 1.24 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/1.048, allocations: 55.69 kB / 1.24 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00277/1.051, allocations: 2.175 MB / 1.242 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/1.054, allocations: 1.456 MB / 1.243 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/1.056, allocations: 0.6165 MB / 1.244 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002696/1.059, allocations: 1.943 MB / 1.246 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/1.06, allocations: 1.121 MB / 1.247 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/1.062, allocations: 0.9231 MB / 1.248 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/1.064, allocations: 1.584 MB / 1.249 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/1.064, allocations: 100 kB / 1.249 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/1.065, allocations: 140 kB / 1.25 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005637/1.065, allocations: 0.5625 MB / 1.25 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/1.066, allocations: 0.803 MB / 1.251 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/1.069, allocations: 1.911 MB / 1.253 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.069, allocations: 8 kB / 1.253 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/1.069, allocations: 3.938 kB / 1.253 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.397e-05/1.069, allocations: 4 kB / 1.253 GB, free: 8.059 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004082/1.073, allocations: 2.354 MB / 1.255 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.073, allocations: 12.61 kB / 1.255 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/1.073, allocations: 244.9 kB / 1.255 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/1.075, allocations: 1.035 MB / 1.256 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/1.075, allocations: 91.69 kB / 1.256 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/1.075, allocations: 72 kB / 1.256 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/1.076, allocations: 0.7971 MB / 1.257 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.076, allocations: 0 / 1.257 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/1.076, allocations: 35.92 kB / 1.257 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/1.076, allocations: 16 kB / 1.257 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/1.078, allocations: 0.6414 MB / 1.258 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/1.083, allocations: 3.756 MB / 1.262 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/1.085, allocations: 0.7451 MB / 1.262 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/1.085, allocations: 418.3 kB / 1.263 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/1.085, allocations: 20.55 kB / 1.263 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/1.086, allocations: 452 kB / 1.263 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=73): time 4.488e-06/1.086, allocations: 3.984 kB / 1.263 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=73): time 0.004343/1.091, allocations: 1.826 MB / 1.265 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/1.091, allocations: 72 kB / 1.265 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/1.095, allocations: 3.368 MB / 1.268 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/1.095, allocations: 49.7 kB / 1.268 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008231/1.096, allocations: 0.9292 MB / 1.269 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/1.096, allocations: 232.7 kB / 1.269 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.096, allocations: 138.7 kB / 1.27 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.096, allocations: 337.9 kB / 1.27 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/1.097, allocations: 317.8 kB / 1.27 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/1.098, allocations: 472 kB / 1.271 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.099, allocations: 0.7465 MB / 1.271 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.099, allocations: 0 / 1.271 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002485/1.101, allocations: 1.251 MB / 1.273 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.102, allocations: 6.188 kB / 1.273 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.102, allocations: 4 kB / 1.273 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007212/1.102, allocations: 271.2 kB / 1.273 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/1.103, allocations: 143.8 kB / 1.273 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/1.108, allocations: 4.753 MB / 1.278 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/1.109, allocations: 99.22 kB / 1.278 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/1.109, allocations: 24 kB / 1.278 GB, free: 13.46 MB / 0.9981 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.0008779/1.11, allocations: 0.6237 MB / 1.278 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/1.11, allocations: 217.1 kB / 1.279 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/1.111, allocations: 265.2 kB / 1.279 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.111, allocations: 8 kB / 1.279 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/1.111, allocations: 4 kB / 1.279 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/1.111, allocations: 3.984 kB / 1.279 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/1.115, allocations: 2.408 MB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.115, allocations: 0 / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/1.115, allocations: 75.83 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006175/1.116, allocations: 249.5 kB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/1.116, allocations: 24 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/1.121, allocations: 4.752 MB / 1.286 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.121, allocations: 0 / 1.286 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/1.124, allocations: 1.637 MB / 1.288 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/1.124, allocations: 322.2 kB / 1.288 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.124, allocations: 20 kB / 1.288 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/1.125, allocations: 35.95 kB / 1.288 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.125, allocations: 80.55 kB / 1.288 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/1.125, allocations: 24 kB / 1.288 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002819/1.128, allocations: 2.468 MB / 1.291 GB, free: 15.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.128, allocations: 0 / 1.291 GB, free: 15.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00101/1.129, allocations: 307.5 kB / 1.291 GB, free: 15.55 MB / 1.014 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.001154/1.13, allocations: 489.5 kB / 1.291 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002502/1.133, allocations: 1.202 MB / 1.293 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.133, allocations: 4.125 kB / 1.293 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.134, allocations: 0.6943 MB / 1.293 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.135, allocations: 300.9 kB / 1.294 GB, free: 13.01 MB / 1.014 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/1.142, allocations: 4.218 MB / 1.298 GB, free: 8.758 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.143, allocations: 1.548 MB / 1.299 GB, free: 7.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/1.143, allocations: 71.41 kB / 1.299 GB, free: 7.109 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.143, allocations: 0 / 1.299 GB, free: 7.109 MB / 1.014 GB Notification: Performance of Templates: time 0.0464/1.189, allocations: 32.78 MB / 1.331 GB, free: 6.359 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches