Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.00181, allocations: 180.2 kB / 16.39 MB, free: 5.762 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.401/1.401, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008563/0.0008564, allocations: 92.22 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.8027/0.8027, allocations: 120.5 MB / 463 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002987, allocations: 8 kB / 0.5433 GB, free: 42.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 82.84 MB / 0.6242 GB, free: 9.211 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7253/0.881, allocations: 125 MB / 0.7463 GB, free: 9.043 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001356/0.8812, allocations: 49.14 kB / 0.7463 GB, free: 9.023 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009673/0.8822, allocations: 472.8 kB / 0.7468 GB, free: 8.582 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8822, allocations: 3.938 kB / 0.7468 GB, free: 8.578 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.8822, allocations: 0 / 0.7468 GB, free: 8.578 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002454/0.8825, allocations: 319 kB / 0.7471 GB, free: 8.223 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8825, allocations: 8.031 kB / 0.7471 GB, free: 8.215 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.8826, allocations: 3.953 kB / 0.7471 GB, free: 8.211 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.8827, allocations: 163.1 kB / 0.7473 GB, free: 8.012 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.8827, allocations: 4 kB / 0.7473 GB, free: 8.008 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.8827, allocations: 0 / 0.7473 GB, free: 8.008 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.755e-05/0.8828, allocations: 33.58 kB / 0.7473 GB, free: 7.973 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.8828, allocations: 4 kB / 0.7473 GB, free: 7.969 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.8828, allocations: 0 / 0.7473 GB, free: 7.969 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.8829, allocations: 3.953 kB / 0.7473 GB, free: 7.965 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.8829, allocations: 7.984 kB / 0.7473 GB, free: 7.957 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.8831, allocations: 149.6 kB / 0.7475 GB, free: 7.766 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.8831, allocations: 22.55 kB / 0.7475 GB, free: 7.734 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.8833, allocations: 93.16 kB / 0.7476 GB, free: 7.625 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.8833, allocations: 30.56 kB / 0.7476 GB, free: 7.586 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8833, allocations: 0 / 0.7476 GB, free: 7.586 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.8835, allocations: 37.64 kB / 0.7476 GB, free: 7.547 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.8835, allocations: 55.34 kB / 0.7477 GB, free: 7.48 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.319e-05/0.8835, allocations: 85 kB / 0.7478 GB, free: 7.391 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.8836, allocations: 25.7 kB / 0.7478 GB, free: 7.359 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.8836, allocations: 84.27 kB / 0.7479 GB, free: 7.273 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.8836, allocations: 16.45 kB / 0.7479 GB, free: 7.262 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.8836, allocations: 0 / 0.7479 GB, free: 7.262 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.8838, allocations: 314.8 kB / 0.7482 GB, free: 6.945 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.8838, allocations: 0 / 0.7482 GB, free: 6.945 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-06/0.8838, allocations: 7.938 kB / 0.7482 GB, free: 6.938 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.8838, allocations: 4 kB / 0.7482 GB, free: 6.934 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8838, allocations: 0 / 0.7482 GB, free: 6.934 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.787e-05/0.8839, allocations: 41.62 kB / 0.7482 GB, free: 6.891 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8839, allocations: 8.094 kB / 0.7483 GB, free: 6.883 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.8839, allocations: 0 / 0.7483 GB, free: 6.883 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.8839, allocations: 0 / 0.7483 GB, free: 6.883 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.884, allocations: 4 kB / 0.7483 GB, free: 6.879 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.884, allocations: 0 / 0.7483 GB, free: 6.879 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.884, allocations: 3.938 kB / 0.7483 GB, free: 6.875 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.884, allocations: 0 / 0.7483 GB, free: 6.875 MB / 0.5107 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 7.642e-05/0.8841, allocations: 120.7 kB / 0.7484 GB, free: 6.754 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.8841, allocations: 0 / 0.7484 GB, free: 6.754 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.8842, allocations: 49.19 kB / 0.7484 GB, free: 6.703 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8842, allocations: 0 / 0.7484 GB, free: 6.703 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.8842, allocations: 3.938 kB / 0.7484 GB, free: 6.699 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8842, allocations: 0 / 0.7484 GB, free: 6.699 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.682e-05/0.8843, allocations: 153.6 kB / 0.7486 GB, free: 6.5 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8844, allocations: 0.75 kB / 0.7486 GB, free: 6.5 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.8844, allocations: 0 / 0.7486 GB, free: 6.5 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.8844, allocations: 4 kB / 0.7486 GB, free: 6.496 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.8844, allocations: 0 / 0.7486 GB, free: 6.496 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8844, allocations: 3.938 kB / 0.7486 GB, free: 6.496 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8844, allocations: 4.031 kB / 0.7486 GB, free: 6.492 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.937e-05/0.8845, allocations: 68.89 kB / 0.7487 GB, free: 6.41 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.8845, allocations: 81.02 kB / 0.7487 GB, free: 6.312 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.8845, allocations: 0 / 0.7487 GB, free: 6.312 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.8846, allocations: 4 kB / 0.7487 GB, free: 6.309 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.8846, allocations: 0 / 0.7487 GB, free: 6.309 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.8846, allocations: 0 / 0.7487 GB, free: 6.309 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.8846, allocations: 83.19 kB / 0.7488 GB, free: 6.23 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8846, allocations: 0 / 0.7488 GB, free: 6.23 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002315/0.8849, allocations: 8 kB / 0.7488 GB, free: 6.223 MB / 0.5107 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 0.0001222/0.885, allocations: 103.2 kB / 0.7489 GB, free: 6.113 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 6.96e-05/0.8851, allocations: 7.938 kB / 0.7489 GB, free: 6.105 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8851, allocations: 3.938 kB / 0.7489 GB, free: 6.102 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.8851, allocations: 4 kB / 0.7489 GB, free: 6.098 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.542e-05/0.8852, allocations: 8.078 kB / 0.7489 GB, free: 6.09 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.8854, allocations: 83.38 kB / 0.749 GB, free: 5.984 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.8856, allocations: 0.6731 MB / 0.7497 GB, free: 5.285 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.8857, allocations: 0 / 0.7497 GB, free: 5.285 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.8857, allocations: 15.42 kB / 0.7497 GB, free: 5.27 MB / 0.5107 GB Notification: Performance of SimCode: time 2.9e-07/0.8857, allocations: 0 / 0.7497 GB, free: 5.27 MB / 0.5107 GB Notification: Performance of Templates: time 0.001945/0.8877, allocations: 260.2 kB / 0.7499 GB, free: 5.031 MB / 0.5107 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches