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.007334/0.007334, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001709/0.001709, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3235, allocations: 157.4 MB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.8326/1.156, allocations: 157.6 MB / 1.362 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02579/1.182, allocations: 22.07 MB / 1.383 GB, free: 7.695 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/1.184, allocations: 62.41 kB / 1.383 GB, free: 7.672 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/1.187, allocations: 2.173 MB / 1.385 GB, free: 6.586 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/1.189, allocations: 1.452 MB / 1.387 GB, free: 5.742 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/1.191, allocations: 0.619 MB / 1.387 GB, free: 5.258 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002441/1.194, allocations: 1.956 MB / 1.389 GB, free: 4.184 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.195, allocations: 1.12 MB / 1.39 GB, free: 3.492 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/1.197, allocations: 0.9288 MB / 1.391 GB, free: 3.004 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/1.199, allocations: 1.595 MB / 1.393 GB, free: 2.312 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/1.199, allocations: 96.69 kB / 1.393 GB, free: 2.312 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/1.199, allocations: 147.8 kB / 1.393 GB, free: 2.289 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004689/1.2, allocations: 0.5608 MB / 1.394 GB, free: 1.938 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007019/1.2, allocations: 0.798 MB / 1.394 GB, free: 1.332 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/1.202, allocations: 1.949 MB / 1.396 GB, free: 0 / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.202, allocations: 0 / 1.396 GB, free: 0 / 1.076 GB Notification: Performance of FrontEnd: time 1.834e-06/1.202, allocations: 0 / 1.396 GB, free: 0 / 1.076 GB Notification: Performance of Transformations before backend: time 2.814e-05/1.202, allocations: 0 / 1.396 GB, free: 0 / 1.076 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.003363/1.206, allocations: 2.361 MB / 1.399 GB, free: 14.21 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/1.206, allocations: 15.22 kB / 1.399 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/1.206, allocations: 240.1 kB / 1.399 GB, free: 14.08 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/1.207, allocations: 1.04 MB / 1.4 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/1.207, allocations: 92.88 kB / 1.4 GB, free: 13.18 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.208, allocations: 71.09 kB / 1.4 GB, free: 13.16 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/1.209, allocations: 0.7965 MB / 1.401 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/1.209, allocations: 9.219 kB / 1.401 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/1.209, allocations: 29.44 kB / 1.401 GB, free: 12.65 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/1.209, allocations: 20.48 kB / 1.401 GB, free: 12.65 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/1.21, allocations: 0.6432 MB / 1.401 GB, free: 12.34 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004761/1.215, allocations: 3.729 MB / 1.405 GB, free: 9.316 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/1.216, allocations: 0.738 MB / 1.406 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/1.217, allocations: 431.1 kB / 1.406 GB, free: 8.734 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.499e-05/1.217, allocations: 12.33 kB / 1.406 GB, free: 8.73 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/1.218, allocations: 455.4 kB / 1.407 GB, free: 8.449 MB / 1.092 GB Notification: Performance of pre-optimization done (n=73): time 3.046e-06/1.218, allocations: 0 / 1.407 GB, free: 8.449 MB / 1.092 GB Notification: Performance of matching and sorting (n=73): time 0.004044/1.222, allocations: 1.827 MB / 1.408 GB, free: 7.422 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.222, allocations: 71.3 kB / 1.409 GB, free: 7.348 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/1.226, allocations: 3.371 MB / 1.412 GB, free: 5.156 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/1.226, allocations: 49.7 kB / 1.412 GB, free: 5.102 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/1.227, allocations: 0.933 MB / 1.413 GB, free: 4.16 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/1.227, allocations: 232.7 kB / 1.413 GB, free: 3.93 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.227, allocations: 138.7 kB / 1.413 GB, free: 3.789 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.227, allocations: 334 kB / 1.413 GB, free: 3.457 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/1.228, allocations: 321.8 kB / 1.414 GB, free: 3.141 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/1.229, allocations: 475.9 kB / 1.414 GB, free: 2.629 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.23, allocations: 0.7503 MB / 1.415 GB, free: 1.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.23, allocations: 0 / 1.415 GB, free: 1.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002291/1.232, allocations: 1.248 MB / 1.416 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.232, allocations: 4 kB / 1.416 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.232, allocations: 4 kB / 1.416 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000707/1.233, allocations: 266.7 kB / 1.416 GB, free: 308 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/1.233, allocations: 139.8 kB / 1.417 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/1.238, allocations: 4.752 MB / 1.421 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/1.239, allocations: 103.3 kB / 1.421 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/1.239, allocations: 28 kB / 1.421 GB, free: 11.01 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.0008759/1.24, allocations: 0.6145 MB / 1.422 GB, free: 10.39 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/1.24, allocations: 213.2 kB / 1.422 GB, free: 10.18 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/1.24, allocations: 265.2 kB / 1.422 GB, free: 9.91 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.241, allocations: 8 kB / 1.422 GB, free: 9.902 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/1.241, allocations: 4 kB / 1.422 GB, free: 9.898 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.241, allocations: 3.984 kB / 1.422 GB, free: 9.895 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/1.244, allocations: 2.409 MB / 1.425 GB, free: 7.422 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.244, allocations: 0 / 1.425 GB, free: 7.422 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/1.245, allocations: 67.84 kB / 1.425 GB, free: 7.355 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006121/1.245, allocations: 259.9 kB / 1.425 GB, free: 7.098 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/1.245, allocations: 19.98 kB / 1.425 GB, free: 7.078 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/1.25, allocations: 4.744 MB / 1.43 GB, free: 2.055 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.25, allocations: 0 / 1.43 GB, free: 2.055 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/1.253, allocations: 1.634 MB / 1.431 GB, free: 404 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.253, allocations: 322.5 kB / 1.432 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/1.253, allocations: 16 kB / 1.432 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/1.254, allocations: 43.95 kB / 1.432 GB, free: 0 / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.254, allocations: 72.61 kB / 1.432 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/1.254, allocations: 31.98 kB / 1.432 GB, free: 15.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002663/1.257, allocations: 2.464 MB / 1.434 GB, free: 13.42 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.613e-06/1.257, allocations: 3.938 kB / 1.434 GB, free: 13.41 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009299/1.257, allocations: 307.4 kB / 1.434 GB, free: 13.11 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.001155/1.259, allocations: 0.4884 MB / 1.435 GB, free: 12.81 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.261, allocations: 1.09 MB / 1.436 GB, free: 11.7 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.261, allocations: 0 / 1.436 GB, free: 11.7 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.262, allocations: 0.7025 MB / 1.437 GB, free: 10.96 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.263, allocations: 297.4 kB / 1.437 GB, free: 10.68 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/1.269, allocations: 4.085 MB / 1.441 GB, free: 6.562 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/1.271, allocations: 1.56 MB / 1.443 GB, free: 4.977 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004437/1.271, allocations: 166.7 kB / 1.443 GB, free: 4.809 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/1.271, allocations: 71.36 kB / 1.443 GB, free: 4.738 MB / 1.123 GB Notification: Performance of SimCode: time 1.974e-06/1.271, allocations: 0 / 1.443 GB, free: 4.738 MB / 1.123 GB Notification: Performance of Templates: time 0.02979/1.301, allocations: 15.31 MB / 1.458 GB, free: 5.59 MB / 1.139 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/jenkins/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