Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008332/0.0008334, allocations: 175.8 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008248/0.0008248, allocations: 90.3 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7259/0.7259, allocations: 120.4 MB / 440.6 MB, free: 4.082 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 12 kB / 0.5188 GB, free: 57.25 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09676, allocations: 79.99 MB / 0.5969 GB, free: 9.137 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.5963, allocations: 124.2 MB / 0.7182 GB, free: 18.79 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001078/0.5964, allocations: 44.55 kB / 0.7182 GB, free: 18.79 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007231/0.5972, allocations: 476.8 kB / 0.7187 GB, free: 18.46 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5972, allocations: 0 / 0.7187 GB, free: 18.46 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.5972, allocations: 0 / 0.7187 GB, free: 18.46 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001391/0.5973, allocations: 318.2 kB / 0.719 GB, free: 18.11 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.5974, allocations: 7.688 kB / 0.719 GB, free: 18.11 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.5974, allocations: 0.9375 kB / 0.719 GB, free: 18.11 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.466e-05/0.5974, allocations: 164.3 kB / 0.7192 GB, free: 17.91 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.5975, allocations: 4.219 kB / 0.7192 GB, free: 17.91 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.5975, allocations: 4.359 kB / 0.7192 GB, free: 17.91 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.5975, allocations: 40.45 kB / 0.7192 GB, free: 17.87 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.5976, allocations: 192 / 0.7192 GB, free: 17.87 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.5976, allocations: 3.938 kB / 0.7192 GB, free: 17.87 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.5976, allocations: 0 / 0.7192 GB, free: 17.87 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.5976, allocations: 3.719 kB / 0.7192 GB, free: 17.87 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.917e-05/0.5977, allocations: 148 kB / 0.7194 GB, free: 17.68 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 2.831e-05/0.5977, allocations: 28.59 kB / 0.7194 GB, free: 17.65 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.5977, allocations: 8.859 kB / 0.7194 GB, free: 17.64 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.5978, allocations: 87.62 kB / 0.7195 GB, free: 17.55 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.5979, allocations: 34.38 kB / 0.7195 GB, free: 17.51 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5979, allocations: 0 / 0.7195 GB, free: 17.51 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2): time 9.258e-05/0.598, allocations: 40.16 kB / 0.7195 GB, free: 17.47 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.598, allocations: 51.41 kB / 0.7196 GB, free: 17.41 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.239e-05/0.598, allocations: 93.8 kB / 0.7197 GB, free: 17.31 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.598, allocations: 33.67 kB / 0.7197 GB, free: 17.27 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-06/0.598, allocations: 84.02 kB / 0.7198 GB, free: 17.19 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.5981, allocations: 4.531 kB / 0.7198 GB, free: 17.19 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.5981, allocations: 0 / 0.7198 GB, free: 17.19 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 3.234e-05/0.5981, allocations: 310.8 kB / 0.7201 GB, free: 16.88 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.5981, allocations: 3.844 kB / 0.7201 GB, free: 16.88 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.5981, allocations: 2.766 kB / 0.7201 GB, free: 16.88 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.222e-05/0.5982, allocations: 12.3 kB / 0.7201 GB, free: 16.87 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5982, allocations: 4.062 kB / 0.7201 GB, free: 16.86 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.078e-05/0.5982, allocations: 40.98 kB / 0.7202 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5982, allocations: 9.906 kB / 0.7202 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.5982, allocations: 3.938 kB / 0.7202 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5982, allocations: 3.938 kB / 0.7202 GB, free: 16.82 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.5983, allocations: 7.781 kB / 0.7202 GB, free: 16.82 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.5983, allocations: 0 / 0.7202 GB, free: 16.82 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.5983, allocations: 0 / 0.7202 GB, free: 16.82 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.5983, allocations: 3.938 kB / 0.7202 GB, free: 16.82 MB / 0.4953 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 (2): * Single equations (assignments): 2 * 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 3.361e-05/0.5984, allocations: 113.7 kB / 0.7203 GB, free: 16.7 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.5984, allocations: 0 / 0.7203 GB, free: 16.7 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/0.5984, allocations: 53.67 kB / 0.7203 GB, free: 16.66 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.5985, allocations: 0 / 0.7203 GB, free: 16.66 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5985, allocations: 0 / 0.7203 GB, free: 16.66 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.5985, allocations: 0.875 kB / 0.7203 GB, free: 16.66 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.328e-05/0.5985, allocations: 156 kB / 0.7205 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5985, allocations: 0 / 0.7205 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.5985, allocations: 3.875 kB / 0.7205 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.5986, allocations: 7.969 kB / 0.7205 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.5986, allocations: 3.938 kB / 0.7205 GB, free: 16.45 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5986, allocations: 3.375 kB / 0.7205 GB, free: 16.45 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5986, allocations: 0 / 0.7205 GB, free: 16.45 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.322e-05/0.5986, allocations: 59.16 kB / 0.7206 GB, free: 16.39 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.5986, allocations: 84.86 kB / 0.7206 GB, free: 16.29 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.5987, allocations: 6.938 kB / 0.7207 GB, free: 16.29 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.5987, allocations: 4.031 kB / 0.7207 GB, free: 16.29 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.5987, allocations: 0 / 0.7207 GB, free: 16.29 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.5987, allocations: 0 / 0.7207 GB, free: 16.29 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 9.478e-06/0.5987, allocations: 79 kB / 0.7207 GB, free: 16.21 MB / 0.4953 GB Notification: Performance of sort global known variables: time 8e-08/0.5987, allocations: 0 / 0.7207 GB, free: 16.21 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.000202/0.5989, allocations: 0 / 0.7207 GB, free: 16.21 MB / 0.4953 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 7.002e-05/0.599, allocations: 102.5 kB / 0.7208 GB, free: 16.12 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 4.823e-05/0.5991, allocations: 18.3 kB / 0.7208 GB, free: 16.11 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.5991, allocations: 4.062 kB / 0.7209 GB, free: 16.11 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 7.084e-06/0.5991, allocations: 3.781 kB / 0.7209 GB, free: 16.11 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.5992, allocations: 0 / 0.7209 GB, free: 16.11 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.5994, allocations: 89.64 kB / 0.7209 GB, free: 16.01 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.706e-05/0.5995, allocations: 0.6755 MB / 0.7216 GB, free: 15.31 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.5995, allocations: 0.7812 kB / 0.7216 GB, free: 15.31 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-06/0.5995, allocations: 11.5 kB / 0.7216 GB, free: 15.3 MB / 0.4953 GB Notification: Performance of SimCode: time 2.21e-07/0.5995, allocations: 3.719 kB / 0.7216 GB, free: 15.3 MB / 0.4953 GB Notification: Performance of Templates: time 0.001501/0.601, allocations: 257.4 kB / 0.7219 GB, free: 15.24 MB / 0.4953 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches