Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 105.6 kB / 16.5 MB, free: 6.645 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.00135/0.00135, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8111/0.8111, allocations: 119.3 MB / 410.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.91 kB / 0.4916 GB, free: 12.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4331, allocations: 80.68 MB / 0.5704 GB, free: 43.61 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001963/0.4351, allocations: 1.443 MB / 0.5718 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.4358, allocations: 0.5267 MB / 0.5723 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.4358, allocations: 1.031 kB / 0.5723 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.924e-05/0.4359, allocations: 5.156 kB / 0.5723 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.4361, allocations: 41.84 kB / 0.5723 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.619e-05/0.4362, allocations: 40.91 kB / 0.5724 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.4364, allocations: 239.5 kB / 0.5726 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4365, allocations: 4.719 kB / 0.5726 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4366, allocations: 75.28 kB / 0.5727 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.4368, allocations: 108.7 kB / 0.5728 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.4368, allocations: 8.781 kB / 0.5728 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.4369, allocations: 30.56 kB / 0.5728 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.437, allocations: 62.98 kB / 0.5729 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.4371, allocations: 70.95 kB / 0.573 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.4372, allocations: 145.1 kB / 0.5731 GB, free: 41.6 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4372, allocations: 0 / 0.5731 GB, free: 41.6 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.22e-07/0.4372, allocations: 0 / 0.5731 GB, free: 41.6 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4373, allocations: 6.094 kB / 0.5731 GB, free: 41.59 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006791/0.4379, allocations: 464.9 kB / 0.5735 GB, free: 41.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.438, allocations: 10.12 kB / 0.5735 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.4381, allocations: 20.09 kB / 0.5736 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.4382, allocations: 220.3 kB / 0.5738 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.4382, allocations: 12.89 kB / 0.5738 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.4383, allocations: 17.59 kB / 0.5738 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4386, allocations: 171.5 kB / 0.574 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4386, allocations: 5.203 kB / 0.574 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.4386, allocations: 5.219 kB / 0.574 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4386, allocations: 2.531 kB / 0.574 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.4388, allocations: 147.8 kB / 0.5741 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.4391, allocations: 288.5 kB / 0.5744 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.4399, allocations: 354.2 kB / 0.5747 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.4401, allocations: 120.5 kB / 0.5749 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.4403, allocations: 91.58 kB / 0.5749 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.4403, allocations: 35.75 kB / 0.575 GB, free: 40.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.4403, allocations: 1.594 kB / 0.575 GB, free: 40.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005906/0.4409, allocations: 376 kB / 0.5753 GB, free: 39.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/0.4409, allocations: 53.75 kB / 0.5754 GB, free: 39.85 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.441, allocations: 134.8 kB / 0.5755 GB, free: 39.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.441, allocations: 30.89 kB / 0.5755 GB, free: 39.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.441, allocations: 95.59 kB / 0.5756 GB, free: 39.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.4411, allocations: 112 kB / 0.5757 GB, free: 39.51 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.4412, allocations: 64.36 kB / 0.5758 GB, free: 39.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.4412, allocations: 331.9 kB / 0.5761 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.4414, allocations: 119.6 kB / 0.5762 GB, free: 39.09 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.4416, allocations: 131.5 kB / 0.5764 GB, free: 39.03 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.4419, allocations: 280.2 kB / 0.5766 GB, free: 38.9 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.442, allocations: 0 / 0.5766 GB, free: 38.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004521/0.4424, allocations: 352 kB / 0.577 GB, free: 38.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.4424, allocations: 9.312 kB / 0.577 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4424, allocations: 0 / 0.577 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4425, allocations: 2.531 kB / 0.577 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.4428, allocations: 78.84 kB / 0.577 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4428, allocations: 1.281 kB / 0.577 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.4429, allocations: 23.88 kB / 0.5771 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.4429, allocations: 15.69 kB / 0.5771 GB, free: 38.68 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/0.443, allocations: 140.2 kB / 0.5772 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.443, allocations: 11.88 kB / 0.5772 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.4436, allocations: 409.8 kB / 0.5776 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4436, allocations: 5.406 kB / 0.5776 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4436, allocations: 0 / 0.5776 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4436, allocations: 0 / 0.5776 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.4439, allocations: 317.1 kB / 0.5779 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4439, allocations: 1.375 kB / 0.5779 GB, free: 38.01 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.4443, allocations: 83.28 kB / 0.578 GB, free: 38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4443, allocations: 5.359 kB / 0.578 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.4443, allocations: 9.5 kB / 0.578 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4443, allocations: 1.375 kB / 0.578 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4443, allocations: 1.375 kB / 0.578 GB, free: 37.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.445, allocations: 0.5258 MB / 0.5785 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.4451, allocations: 136 kB / 0.5787 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.4451, allocations: 12.36 kB / 0.5787 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4452, allocations: 9.25 kB / 0.5787 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.4453, allocations: 23.97 kB / 0.5787 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4453, allocations: 7.688 kB / 0.5787 GB, free: 37.55 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.4454, allocations: 107.9 kB / 0.5788 GB, free: 37.46 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4454, allocations: 0 / 0.5788 GB, free: 37.46 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000264/0.4456, allocations: 68.75 kB / 0.5789 GB, free: 37.45 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.4458, allocations: 120.5 kB / 0.579 GB, free: 37.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.4462, allocations: 306.4 kB / 0.5793 GB, free: 37.22 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4462, allocations: 0 / 0.5793 GB, free: 37.22 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.4465, allocations: 170.2 kB / 0.5795 GB, free: 37.15 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4467, allocations: 32.83 kB / 0.5795 GB, free: 37.13 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.448, allocations: 0.9149 MB / 0.5804 GB, free: 36.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4483, allocations: 0.7443 MB / 0.5811 GB, free: 35.74 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.4485, allocations: 91.31 kB / 0.5812 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.4486, allocations: 29.92 kB / 0.5812 GB, free: 35.69 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.4486, allocations: 0 / 0.5812 GB, free: 35.69 MB / 462.3 MB Notification: Performance of Templates: time 0.005448/0.4541, allocations: 2.818 MB / 0.584 GB, free: 34.32 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches