Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 91.78 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7863/0.7863, allocations: 120.5 MB / 463.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003109, allocations: 8 kB / 0.5446 GB, free: 41.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1656, allocations: 82.86 MB / 0.6256 GB, free: 7.875 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7681/0.9337, allocations: 125.9 MB / 0.7485 GB, free: 8.191 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.9339, allocations: 67.66 kB / 0.7486 GB, free: 8.156 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01284/0.9468, allocations: 4.064 MB / 0.7525 GB, free: 4.516 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9468, allocations: 4 kB / 0.7525 GB, free: 4.512 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.9468, allocations: 4 kB / 0.7525 GB, free: 4.508 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001026/0.9478, allocations: 0.5775 MB / 0.7531 GB, free: 3.895 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9479, allocations: 8.031 kB / 0.7531 GB, free: 3.887 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.948, allocations: 27.67 kB / 0.7531 GB, free: 3.859 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.9484, allocations: 286.7 kB / 0.7534 GB, free: 3.547 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.9485, allocations: 16.25 kB / 0.7534 GB, free: 3.535 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.9485, allocations: 39.64 kB / 0.7535 GB, free: 3.508 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.949, allocations: 311.3 kB / 0.7538 GB, free: 3.262 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9491, allocations: 0 / 0.7538 GB, free: 3.262 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.9491, allocations: 11.8 kB / 0.7538 GB, free: 3.254 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.9491, allocations: 7.953 kB / 0.7538 GB, free: 3.246 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.9495, allocations: 298 kB / 0.7541 GB, free: 3.016 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.95, allocations: 389.9 kB / 0.7544 GB, free: 2.641 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.9517, allocations: 0.6797 MB / 0.7551 GB, free: 2.102 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.9519, allocations: 101.4 kB / 0.7552 GB, free: 1.988 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.952, allocations: 39.59 kB / 0.7552 GB, free: 1.945 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=53): time 4.619e-06/0.952, allocations: 0 / 0.7552 GB, free: 1.945 MB / 0.5107 GB Notification: Performance of matching and sorting (n=53): time 0.001088/0.9531, allocations: 0.7027 MB / 0.7559 GB, free: 1.387 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9531, allocations: 55.84 kB / 0.756 GB, free: 1.316 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.9532, allocations: 128 kB / 0.7561 GB, free: 1.188 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.9533, allocations: 37.45 kB / 0.7561 GB, free: 1.152 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.9533, allocations: 104.6 kB / 0.7562 GB, free: 1.059 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.9535, allocations: 199.5 kB / 0.7564 GB, free: 0.8906 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.9536, allocations: 11.69 kB / 0.7564 GB, free: 0.8867 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9537, allocations: 341.7 kB / 0.7567 GB, free: 0.5547 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.9541, allocations: 231.3 kB / 0.757 GB, free: 392 kB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.9545, allocations: 245.7 kB / 0.7572 GB, free: 208 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.9549, allocations: 284.5 kB / 0.7575 GB, free: 8 kB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9549, allocations: 0 / 0.7575 GB, free: 8 kB / 0.5107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009676/0.9559, allocations: 0.6429 MB / 0.7581 GB, free: 15.51 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9559, allocations: 8 kB / 0.7581 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9559, allocations: 0 / 0.7581 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.956, allocations: 4 kB / 0.7581 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.9567, allocations: 147.6 kB / 0.7583 GB, free: 15.36 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.9567, allocations: 7.953 kB / 0.7583 GB, free: 15.35 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.9569, allocations: 47.22 kB / 0.7583 GB, free: 15.31 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.957, allocations: 15.88 kB / 0.7583 GB, free: 15.3 MB / 0.5263 GB 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.9572, allocations: 167.8 kB / 0.7585 GB, free: 15.14 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.9572, allocations: 27.72 kB / 0.7585 GB, free: 15.12 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.9584, allocations: 0.722 MB / 0.7592 GB, free: 14.59 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.9584, allocations: 8 kB / 0.7592 GB, free: 14.58 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9585, allocations: 0 / 0.7592 GB, free: 14.58 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.9585, allocations: 7.938 kB / 0.7592 GB, free: 14.57 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.959, allocations: 460.9 kB / 0.7597 GB, free: 14.14 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.959, allocations: 7.938 kB / 0.7597 GB, free: 14.13 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.9599, allocations: 159.6 kB / 0.7598 GB, free: 13.98 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.96, allocations: 4 kB / 0.7598 GB, free: 13.98 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.96, allocations: 27.53 kB / 0.7599 GB, free: 13.96 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.96, allocations: 4 kB / 0.7599 GB, free: 13.96 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.96, allocations: 0 / 0.7599 GB, free: 13.96 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.9614, allocations: 0.9623 MB / 0.7608 GB, free: 13.22 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.9617, allocations: 180.2 kB / 0.761 GB, free: 13.03 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.9617, allocations: 19.73 kB / 0.761 GB, free: 13.02 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.9619, allocations: 7.75 kB / 0.761 GB, free: 13.02 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.962, allocations: 48.28 kB / 0.761 GB, free: 12.98 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.9621, allocations: 19.86 kB / 0.7611 GB, free: 12.96 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 7.057e-05/0.9622, allocations: 113.1 kB / 0.7612 GB, free: 12.86 MB / 0.5263 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9622, allocations: 0 / 0.7612 GB, free: 12.86 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003652/0.9625, allocations: 127.4 kB / 0.7613 GB, free: 12.75 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.9628, allocations: 152.6 kB / 0.7614 GB, free: 12.61 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0008221/0.9636, allocations: 0.5703 MB / 0.762 GB, free: 12.16 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9636, allocations: 0 / 0.762 GB, free: 12.16 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.9641, allocations: 329 kB / 0.7623 GB, free: 11.91 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.9643, allocations: 49.7 kB / 0.7624 GB, free: 11.88 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.9668, allocations: 1.781 MB / 0.7641 GB, free: 10.14 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.9673, allocations: 0.8169 MB / 0.7649 GB, free: 9.301 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.000481/0.9678, allocations: 183.1 kB / 0.7651 GB, free: 9.125 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.9679, allocations: 50.8 kB / 0.7651 GB, free: 9.078 MB / 0.5263 GB Notification: Performance of SimCode: time 8.02e-07/0.968, allocations: 0 / 0.7651 GB, free: 9.078 MB / 0.5263 GB Notification: Performance of Templates: time 0.009182/0.9771, allocations: 4.667 MB / 0.7697 GB, free: 4.461 MB / 0.5263 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches