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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009686/0.0009682, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 185.1 kB / 16.92 MB, free: 6.684 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 462.7 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 7.812 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2969, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1641/0.4611, allocations: 152.9 MB / 1.209 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02539/0.4865, allocations: 21.62 MB / 1.23 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.4884, allocations: 51.69 kB / 1.23 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002473/0.4909, allocations: 2.117 MB / 1.232 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.4932, allocations: 1.363 MB / 1.233 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.4947, allocations: 0.524 MB / 1.234 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002337/0.4971, allocations: 1.898 MB / 1.236 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.4986, allocations: 0.9392 MB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.4998, allocations: 0.7552 MB / 1.237 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.5015, allocations: 1.483 MB / 1.239 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.5017, allocations: 36 kB / 1.239 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.5021, allocations: 79.98 kB / 1.239 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004616/0.5025, allocations: 0.4923 MB / 1.239 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.5032, allocations: 0.7267 MB / 1.24 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.5044, allocations: 1.364 MB / 1.241 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5044, allocations: 0 / 1.241 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5044, allocations: 0 / 1.241 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.5044, allocations: 7.875 kB / 1.241 GB, free: 9.965 MB / 0.9981 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.002776/0.5072, allocations: 2.002 MB / 1.243 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5073, allocations: 15.95 kB / 1.243 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.5075, allocations: 226.1 kB / 1.243 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5086, allocations: 0.9992 MB / 1.244 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.5088, allocations: 95 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5089, allocations: 67.89 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5102, allocations: 0.7407 MB / 1.245 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5103, allocations: 7.922 kB / 1.245 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.5103, allocations: 28 kB / 1.245 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5103, allocations: 16 kB / 1.245 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5115, allocations: 0.6102 MB / 1.246 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004746/0.5163, allocations: 3.572 MB / 1.249 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.5178, allocations: 0.7302 MB / 1.25 GB, free: 448 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.5185, allocations: 426.2 kB / 1.251 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.5186, allocations: 12.55 kB / 1.251 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6011/1.12, allocations: 429 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 4.027e-06/1.12, allocations: 0 / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.004791/1.125, allocations: 1.84 MB / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/1.125, allocations: 64.09 kB / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/1.129, allocations: 3.308 MB / 1.256 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/1.129, allocations: 43.05 kB / 1.256 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/1.129, allocations: 0.8921 MB / 1.257 GB, free: 192 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/1.129, allocations: 227.9 kB / 1.257 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/1.13, allocations: 68.52 kB / 1.257 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/1.13, allocations: 333.4 kB / 1.258 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/1.13, allocations: 327.8 kB / 1.258 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/1.131, allocations: 457.6 kB / 1.258 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.132, allocations: 0.7392 MB / 1.259 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.132, allocations: 4 kB / 1.259 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00219/1.134, allocations: 1.253 MB / 1.26 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.134, allocations: 6.531 kB / 1.26 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.134, allocations: 2.969 kB / 1.26 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006982/1.135, allocations: 265.8 kB / 1.261 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/1.136, allocations: 135.9 kB / 1.261 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/1.14, allocations: 4.38 MB / 1.265 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/1.14, allocations: 111.2 kB / 1.265 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/1.14, allocations: 29.73 kB / 1.265 GB, free: 188.3 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.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.000882/1.141, allocations: 0.6062 MB / 1.266 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/1.142, allocations: 203.2 kB / 1.266 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/1.142, allocations: 253.1 kB / 1.266 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.142, allocations: 9.062 kB / 1.266 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.142, allocations: 8.219 kB / 1.266 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.142, allocations: 3.906 kB / 1.266 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/1.146, allocations: 2.354 MB / 1.268 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.146, allocations: 0 / 1.268 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/1.147, allocations: 76.2 kB / 1.269 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/1.147, allocations: 253.7 kB / 1.269 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/1.148, allocations: 20.08 kB / 1.269 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/1.152, allocations: 4.369 MB / 1.273 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.152, allocations: 10.69 kB / 1.273 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/1.156, allocations: 1.599 MB / 1.275 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/1.156, allocations: 322.1 kB / 1.275 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.156, allocations: 18.53 kB / 1.275 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/1.157, allocations: 64.89 kB / 1.275 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/1.157, allocations: 70.28 kB / 1.275 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/1.157, allocations: 28.69 kB / 1.275 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003176/1.16, allocations: 2.42 MB / 1.277 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.16, allocations: 7.938 kB / 1.277 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001079/1.161, allocations: 286.6 kB / 1.278 GB, free: 183.6 MB / 0.9981 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.001158/1.162, allocations: 0.4987 MB / 1.278 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.165, allocations: 1.084 MB / 1.279 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.165, allocations: 0 / 1.279 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.166, allocations: 0.7006 MB / 1.28 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.167, allocations: 261.3 kB / 1.28 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007428/1.175, allocations: 4.698 MB / 1.285 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/1.176, allocations: 1.527 MB / 1.286 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/1.177, allocations: 66.97 kB / 1.286 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.177, allocations: 0 / 1.286 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04022/1.217, allocations: 31.13 MB / 1.317 GB, free: 154.8 MB / 0.9981 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