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.001474/0.001474, allocations: 180.7 kB / 16.38 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.304/1.304, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008784/0.000878, allocations: 99.92 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8032/0.8032, allocations: 120.5 MB / 463.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 8 kB / 0.5433 GB, free: 42.4 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 82.85 MB / 0.6242 GB, free: 9.25 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6784/0.8369, allocations: 125 MB / 0.7463 GB, free: 8.84 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001299/0.8371, allocations: 46.55 kB / 0.7464 GB, free: 8.82 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009316/0.838, allocations: 470.5 kB / 0.7468 GB, free: 8.383 MB / 0.5107 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8381, allocations: 3.75 kB / 0.7468 GB, free: 8.383 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.8381, allocations: 3.938 kB / 0.7468 GB, free: 8.379 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.000226/0.8383, allocations: 315 kB / 0.7471 GB, free: 8.027 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.8383, allocations: 8.031 kB / 0.7471 GB, free: 8.02 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.8384, allocations: 3.953 kB / 0.7471 GB, free: 8.016 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.8385, allocations: 163.1 kB / 0.7473 GB, free: 7.816 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.8385, allocations: 4 kB / 0.7473 GB, free: 7.812 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.8385, allocations: 0 / 0.7473 GB, free: 7.812 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.8386, allocations: 35.14 kB / 0.7473 GB, free: 7.777 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.8386, allocations: 0 / 0.7473 GB, free: 7.777 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.8386, allocations: 0 / 0.7473 GB, free: 7.777 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8386, allocations: 3.953 kB / 0.7473 GB, free: 7.773 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.777e-05/0.8387, allocations: 8 kB / 0.7473 GB, free: 7.766 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.8388, allocations: 145.7 kB / 0.7475 GB, free: 7.574 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.8388, allocations: 26.42 kB / 0.7475 GB, free: 7.543 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.839, allocations: 89.16 kB / 0.7476 GB, free: 7.438 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.839, allocations: 30.56 kB / 0.7476 GB, free: 7.398 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.839, allocations: 0 / 0.7476 GB, free: 7.398 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2): time 0.0001214/0.8392, allocations: 41.58 kB / 0.7477 GB, free: 7.355 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.8392, allocations: 55.34 kB / 0.7477 GB, free: 7.289 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.773e-05/0.8392, allocations: 85 kB / 0.7478 GB, free: 7.199 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.8393, allocations: 33.64 kB / 0.7478 GB, free: 7.16 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.8393, allocations: 80.14 kB / 0.7479 GB, free: 7.078 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.8393, allocations: 8.516 kB / 0.7479 GB, free: 7.07 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.8393, allocations: 3.875 kB / 0.7479 GB, free: 7.07 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8394, allocations: 318.7 kB / 0.7482 GB, free: 6.75 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.8394, allocations: 8.125 kB / 0.7482 GB, free: 6.742 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.8395, allocations: 0 / 0.7482 GB, free: 6.742 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.8395, allocations: 4 kB / 0.7482 GB, free: 6.738 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8395, allocations: 0 / 0.7482 GB, free: 6.738 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.208e-05/0.8395, allocations: 37.45 kB / 0.7483 GB, free: 6.699 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.8396, allocations: 10.8 kB / 0.7483 GB, free: 6.691 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8396, allocations: 0 / 0.7483 GB, free: 6.691 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8396, allocations: 3.984 kB / 0.7483 GB, free: 6.688 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.8396, allocations: 4 kB / 0.7483 GB, free: 6.684 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8397, allocations: 8.031 kB / 0.7483 GB, free: 6.676 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.8397, allocations: 0 / 0.7483 GB, free: 6.676 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.8397, allocations: 0 / 0.7483 GB, free: 6.676 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 6.83e-05/0.8398, allocations: 113.8 kB / 0.7484 GB, free: 6.555 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-06/0.8398, allocations: 0 / 0.7484 GB, free: 6.555 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/0.8399, allocations: 44.31 kB / 0.7484 GB, free: 6.508 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8399, allocations: 0 / 0.7484 GB, free: 6.508 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8399, allocations: 0 / 0.7484 GB, free: 6.508 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.8399, allocations: 4.031 kB / 0.7484 GB, free: 6.504 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.84, allocations: 157.4 kB / 0.7486 GB, free: 6.305 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.84, allocations: 0 / 0.7486 GB, free: 6.305 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.84, allocations: 0 / 0.7486 GB, free: 6.305 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.84, allocations: 7.562 kB / 0.7486 GB, free: 6.301 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.84, allocations: 0 / 0.7486 GB, free: 6.301 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.84, allocations: 0 / 0.7486 GB, free: 6.301 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.84, allocations: 3.938 kB / 0.7486 GB, free: 6.297 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.928e-05/0.8401, allocations: 68.95 kB / 0.7487 GB, free: 6.215 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.8402, allocations: 81.02 kB / 0.7487 GB, free: 6.117 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.8402, allocations: 0 / 0.7487 GB, free: 6.117 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.8402, allocations: 4 kB / 0.7487 GB, free: 6.113 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.8402, allocations: 0 / 0.7487 GB, free: 6.113 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.8402, allocations: 0 / 0.7487 GB, free: 6.113 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.8403, allocations: 75.28 kB / 0.7488 GB, free: 6.039 MB / 0.5107 GB Notification: Performance of sort global known variables: time 9e-08/0.8403, allocations: 0 / 0.7488 GB, free: 6.039 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001868/0.8404, allocations: 11.88 kB / 0.7488 GB, free: 6.031 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.0001033/0.8406, allocations: 111.1 kB / 0.7489 GB, free: 5.914 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 6.42e-05/0.8406, allocations: 7.938 kB / 0.7489 GB, free: 5.906 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8406, allocations: 0 / 0.7489 GB, free: 5.906 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-06/0.8406, allocations: 7.938 kB / 0.749 GB, free: 5.898 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.177e-05/0.8407, allocations: 6.875 kB / 0.749 GB, free: 5.895 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000196/0.8409, allocations: 83.31 kB / 0.749 GB, free: 5.789 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.8412, allocations: 0.6731 MB / 0.7497 GB, free: 5.09 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.8412, allocations: 4.125 kB / 0.7497 GB, free: 5.086 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.8412, allocations: 11.44 kB / 0.7497 GB, free: 5.074 MB / 0.5107 GB Notification: Performance of SimCode: time 2.81e-07/0.8412, allocations: 0 / 0.7497 GB, free: 5.074 MB / 0.5107 GB Notification: Performance of Templates: time 0.001773/0.843, allocations: 263.7 kB / 0.75 GB, free: 4.832 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/jenkins/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