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 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_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 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 173.8 kB / 13.63 MB, free: 1.684 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.588/1.588, allocations: 221.3 MB / 235.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008414, allocations: 93.77 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1/1, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.565e-05, allocations: 4 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6117/0.6117, allocations: 82.84 MB / 0.6166 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.7802, allocations: 124.9 MB / 0.7386 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001562/0.7804, allocations: 47.98 kB / 0.7387 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009645/0.7814, allocations: 470.1 kB / 0.7391 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7814, allocations: 4 kB / 0.7391 GB, free: 11.76 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7814, allocations: 0 / 0.7391 GB, free: 11.76 MB / 0.5419 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.0002144/0.7816, allocations: 306.5 kB / 0.7394 GB, free: 11.42 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.7817, allocations: 12.09 kB / 0.7394 GB, free: 11.41 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.7817, allocations: 3.953 kB / 0.7394 GB, free: 11.4 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.7818, allocations: 159.1 kB / 0.7396 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.7818, allocations: 3.984 kB / 0.7396 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.7818, allocations: 0 / 0.7396 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.7819, allocations: 33.7 kB / 0.7396 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.7819, allocations: 0 / 0.7396 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.782, allocations: 0 / 0.7396 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.782, allocations: 4 kB / 0.7396 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.782, allocations: 11.89 kB / 0.7396 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.7821, allocations: 157.7 kB / 0.7398 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.7822, allocations: 18.61 kB / 0.7398 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.7822, allocations: 8.922 kB / 0.7398 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.7824, allocations: 81.11 kB / 0.7399 GB, free: 10.81 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.7824, allocations: 38.56 kB / 0.7399 GB, free: 10.76 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7824, allocations: 0 / 0.7399 GB, free: 10.76 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001269/0.7825, allocations: 41.62 kB / 0.74 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.7826, allocations: 51.41 kB / 0.74 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.073e-05/0.7826, allocations: 85 kB / 0.7401 GB, free: 10.56 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.7827, allocations: 25.7 kB / 0.7401 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.7827, allocations: 83.36 kB / 0.7402 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.7827, allocations: 7.906 kB / 0.7402 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.7828, allocations: 4 kB / 0.7402 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7829, allocations: 318.8 kB / 0.7405 GB, free: 10.12 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.7829, allocations: 0 / 0.7405 GB, free: 10.12 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.7829, allocations: 4 kB / 0.7405 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.021e-05/0.783, allocations: 7.984 kB / 0.7405 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.783, allocations: 0 / 0.7405 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.611e-05/0.783, allocations: 45.58 kB / 0.7406 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.783, allocations: 4 kB / 0.7406 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.783, allocations: 0 / 0.7406 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.7831, allocations: 4.094 kB / 0.7406 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.7831, allocations: 7.938 kB / 0.7406 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7831, allocations: 0 / 0.7406 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.7832, allocations: 0 / 0.7406 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7832, allocations: 4 kB / 0.7406 GB, free: 10.04 MB / 0.5419 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 () * 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.451e-05/0.7832, allocations: 112.9 kB / 0.7407 GB, free: 9.918 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.7832, allocations: 0 / 0.7407 GB, free: 9.918 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.7834, allocations: 48.81 kB / 0.7407 GB, free: 9.863 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.7834, allocations: 0 / 0.7407 GB, free: 9.863 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7834, allocations: 3.938 kB / 0.7407 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7834, allocations: 0 / 0.7407 GB, free: 9.859 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.9e-05/0.7835, allocations: 153.6 kB / 0.7409 GB, free: 9.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7835, allocations: 3.984 kB / 0.7409 GB, free: 9.656 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.7835, allocations: 4 kB / 0.7409 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7835, allocations: 0 / 0.7409 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.7835, allocations: 0 / 0.7409 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7835, allocations: 0 / 0.7409 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7835, allocations: 0 / 0.7409 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.555e-05/0.7836, allocations: 69.11 kB / 0.741 GB, free: 9.566 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.7837, allocations: 81.02 kB / 0.741 GB, free: 9.469 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.7837, allocations: 4 kB / 0.741 GB, free: 9.465 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.7837, allocations: 4 kB / 0.741 GB, free: 9.461 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.7837, allocations: 3.984 kB / 0.7411 GB, free: 9.457 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.7837, allocations: 0 / 0.7411 GB, free: 9.457 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.7838, allocations: 75.28 kB / 0.7411 GB, free: 9.383 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.673e-06/0.7838, allocations: 4.031 kB / 0.7411 GB, free: 9.379 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001769/0.784, allocations: 11.94 kB / 0.7411 GB, free: 9.367 MB / 0.5419 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 () * 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.0001089/0.7841, allocations: 99.19 kB / 0.7412 GB, free: 9.258 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.371e-05/0.7841, allocations: 4 kB / 0.7412 GB, free: 9.254 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7841, allocations: 0 / 0.7412 GB, free: 9.254 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-06/0.7842, allocations: 4 kB / 0.7412 GB, free: 9.25 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.579e-05/0.7843, allocations: 11.95 kB / 0.7413 GB, free: 9.238 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.7845, allocations: 53.11 kB / 0.7413 GB, free: 9.164 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.7847, allocations: 0.6731 MB / 0.742 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.7847, allocations: 0 / 0.742 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.7847, allocations: 19.36 kB / 0.742 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of SimCode: time 5.21e-07/0.7847, allocations: 0 / 0.742 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of Templates: time 0.001863/0.7866, allocations: 259.9 kB / 0.7422 GB, free: 8.191 MB / 0.5419 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/jenkins/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