Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001381/0.001381, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.83 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8294, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1844/1.014, allocations: 157.3 MB / 1.362 GB, free: 15.71 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02964/1.043, allocations: 22 MB / 1.383 GB, free: 9.641 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/1.046, allocations: 55.69 kB / 1.384 GB, free: 9.586 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00277/1.049, allocations: 2.163 MB / 1.386 GB, free: 7.418 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/1.052, allocations: 1.413 MB / 1.387 GB, free: 6 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/1.054, allocations: 0.5836 MB / 1.388 GB, free: 5.422 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002824/1.056, allocations: 1.836 MB / 1.389 GB, free: 3.582 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/1.058, allocations: 1.076 MB / 1.39 GB, free: 2.484 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/1.06, allocations: 0.888 MB / 1.391 GB, free: 1.594 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/1.062, allocations: 1.542 MB / 1.393 GB, free: 52 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003217/1.062, allocations: 88.05 kB / 1.393 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/1.063, allocations: 131.9 kB / 1.393 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005194/1.063, allocations: 0.5276 MB / 1.394 GB, free: 15.31 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/1.064, allocations: 0.7641 MB / 1.394 GB, free: 14.54 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/1.067, allocations: 1.866 MB / 1.396 GB, free: 12.67 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.067, allocations: 4 kB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.573e-06/1.067, allocations: 0 / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.019e-05/1.067, allocations: 3.984 kB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004672/1.071, allocations: 2.281 MB / 1.398 GB, free: 10.32 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.071, allocations: 8.031 kB / 1.398 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/1.072, allocations: 234 kB / 1.399 GB, free: 10.08 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/1.074, allocations: 1.011 MB / 1.4 GB, free: 9 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/1.074, allocations: 91 kB / 1.4 GB, free: 8.906 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/1.074, allocations: 64 kB / 1.4 GB, free: 8.844 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/1.076, allocations: 0.729 MB / 1.4 GB, free: 8.102 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/1.076, allocations: 0 / 1.4 GB, free: 8.102 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/1.076, allocations: 24 kB / 1.4 GB, free: 8.078 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.076, allocations: 16 kB / 1.4 GB, free: 8.062 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/1.077, allocations: 0.5945 MB / 1.401 GB, free: 7.469 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005923/1.083, allocations: 3.502 MB / 1.404 GB, free: 3.707 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.085, allocations: 0.7099 MB / 1.405 GB, free: 2.984 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008128/1.086, allocations: 414.2 kB / 1.406 GB, free: 2.578 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/1.086, allocations: 12.55 kB / 1.406 GB, free: 2.566 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008328/1.087, allocations: 430.8 kB / 1.406 GB, free: 2.133 MB / 1.123 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/1.087, allocations: 0 / 1.406 GB, free: 2.133 MB / 1.123 GB Notification: Performance of matching and sorting (n=70): time 0.004403/1.091, allocations: 1.796 MB / 1.408 GB, free: 292 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.091, allocations: 67.97 kB / 1.408 GB, free: 212 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/1.095, allocations: 3.304 MB / 1.411 GB, free: 12.88 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.958e-05/1.096, allocations: 45.7 kB / 1.411 GB, free: 12.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008794/1.096, allocations: 0.8859 MB / 1.412 GB, free: 11.93 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/1.097, allocations: 220.9 kB / 1.412 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.097, allocations: 126.7 kB / 1.412 GB, free: 11.58 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.097, allocations: 337.9 kB / 1.413 GB, free: 11.24 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/1.098, allocations: 309.8 kB / 1.413 GB, free: 10.94 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/1.099, allocations: 434.4 kB / 1.413 GB, free: 10.48 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/1.1, allocations: 0.7146 MB / 1.414 GB, free: 9.723 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.1, allocations: 3.938 kB / 1.414 GB, free: 9.719 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002534/1.102, allocations: 1.218 MB / 1.415 GB, free: 8.484 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.102, allocations: 11.94 kB / 1.415 GB, free: 8.473 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.102, allocations: 4 kB / 1.415 GB, free: 8.469 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/1.103, allocations: 257.6 kB / 1.415 GB, free: 8.211 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/1.104, allocations: 135.8 kB / 1.416 GB, free: 8.078 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/1.109, allocations: 4.751 MB / 1.42 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008609/1.11, allocations: 99.3 kB / 1.42 GB, free: 2.961 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.11, allocations: 39.86 kB / 1.42 GB, free: 2.922 MB / 1.139 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001345/1.111, allocations: 0.6005 MB / 1.421 GB, free: 2.312 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/1.112, allocations: 201.4 kB / 1.421 GB, free: 2.113 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/1.112, allocations: 260.5 kB / 1.421 GB, free: 1.852 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.112, allocations: 8 kB / 1.421 GB, free: 1.844 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.112, allocations: 0 / 1.421 GB, free: 1.844 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.112, allocations: 7.984 kB / 1.421 GB, free: 1.836 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/1.117, allocations: 2.331 MB / 1.424 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.117, allocations: 0 / 1.424 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/1.117, allocations: 67.91 kB / 1.424 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/1.118, allocations: 248.5 kB / 1.424 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/1.118, allocations: 19.98 kB / 1.424 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/1.123, allocations: 4.762 MB / 1.429 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.123, allocations: 0 / 1.429 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/1.126, allocations: 1.565 MB / 1.43 GB, free: 8.473 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/1.126, allocations: 314.3 kB / 1.43 GB, free: 8.145 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/1.127, allocations: 27.92 kB / 1.43 GB, free: 8.117 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/1.127, allocations: 35.97 kB / 1.431 GB, free: 8.082 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.127, allocations: 76.39 kB / 1.431 GB, free: 8.008 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/1.127, allocations: 27.98 kB / 1.431 GB, free: 7.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0026/1.13, allocations: 2.419 MB / 1.433 GB, free: 5.547 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.13, allocations: 0 / 1.433 GB, free: 5.547 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009946/1.131, allocations: 283.5 kB / 1.433 GB, free: 5.27 MB / 1.154 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.001121/1.132, allocations: 499.2 kB / 1.434 GB, free: 4.961 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002029/1.134, allocations: 1.059 MB / 1.435 GB, free: 3.875 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.134, allocations: 3.938 kB / 1.435 GB, free: 3.871 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.135, allocations: 0.6904 MB / 1.435 GB, free: 3.156 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.137, allocations: 282.7 kB / 1.436 GB, free: 2.887 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/1.143, allocations: 4.065 MB / 1.44 GB, free: 14.78 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/1.144, allocations: 1.52 MB / 1.441 GB, free: 13.23 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/1.144, allocations: 71.34 kB / 1.441 GB, free: 13.16 MB / 1.17 GB Notification: Performance of SimCode: time 5.81e-07/1.144, allocations: 4 kB / 1.441 GB, free: 13.16 MB / 1.17 GB Notification: Performance of Templates: time 0.04281/1.187, allocations: 31.57 MB / 1.472 GB, free: 13.62 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches