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.001801/0.001801, allocations: 180.8 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.398/1.398, allocations: 223.2 MB / 240.3 MB, free: 11.84 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.0008689/0.0008689, allocations: 106.3 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7178/0.7178, allocations: 120.5 MB / 463.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 8 kB / 0.5433 GB, free: 42.46 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 82.85 MB / 0.6242 GB, free: 9.242 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6166/0.7412, allocations: 125 MB / 0.7463 GB, free: 9.082 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001263/0.7414, allocations: 47.11 kB / 0.7464 GB, free: 9.062 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009314/0.7423, allocations: 470.9 kB / 0.7468 GB, free: 8.625 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7424, allocations: 0 / 0.7468 GB, free: 8.625 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7424, allocations: 3.531 kB / 0.7468 GB, free: 8.625 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.0002311/0.7426, allocations: 315.6 kB / 0.7471 GB, free: 8.273 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7426, allocations: 11.97 kB / 0.7471 GB, free: 8.262 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.7427, allocations: 3.953 kB / 0.7471 GB, free: 8.258 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.7428, allocations: 163.1 kB / 0.7473 GB, free: 8.059 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.7428, allocations: 4 kB / 0.7473 GB, free: 8.055 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.7428, allocations: 0 / 0.7473 GB, free: 8.055 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.7429, allocations: 31.58 kB / 0.7473 GB, free: 8.023 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.7429, allocations: 4 kB / 0.7473 GB, free: 8.02 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.7429, allocations: 0 / 0.7473 GB, free: 8.02 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7429, allocations: 3.953 kB / 0.7473 GB, free: 8.016 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.743, allocations: 4 kB / 0.7473 GB, free: 8.012 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.7431, allocations: 146.2 kB / 0.7475 GB, free: 7.82 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/0.7432, allocations: 30.42 kB / 0.7475 GB, free: 7.785 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.7433, allocations: 89.16 kB / 0.7476 GB, free: 7.68 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.7433, allocations: 30.56 kB / 0.7476 GB, free: 7.641 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.7434, allocations: 0 / 0.7476 GB, free: 7.641 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2): time 0.0001208/0.7435, allocations: 37.58 kB / 0.7476 GB, free: 7.602 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.7435, allocations: 51.53 kB / 0.7477 GB, free: 7.539 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.761e-05/0.7436, allocations: 92.94 kB / 0.7478 GB, free: 7.441 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.7436, allocations: 29.64 kB / 0.7478 GB, free: 7.406 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.7436, allocations: 84.14 kB / 0.7479 GB, free: 7.32 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.7437, allocations: 8.516 kB / 0.7479 GB, free: 7.312 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.7437, allocations: 3.875 kB / 0.7479 GB, free: 7.312 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7438, allocations: 315.3 kB / 0.7482 GB, free: 6.996 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.7438, allocations: 0 / 0.7482 GB, free: 6.996 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.7438, allocations: 4 kB / 0.7482 GB, free: 6.992 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.692e-05/0.7438, allocations: 8.062 kB / 0.7482 GB, free: 6.984 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7438, allocations: 0 / 0.7482 GB, free: 6.984 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.795e-05/0.7439, allocations: 41.52 kB / 0.7483 GB, free: 6.941 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.7439, allocations: 10.8 kB / 0.7483 GB, free: 6.934 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.7439, allocations: 0 / 0.7483 GB, free: 6.934 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.7439, allocations: 0 / 0.7483 GB, free: 6.934 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.744, allocations: 4 kB / 0.7483 GB, free: 6.93 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.744, allocations: 0 / 0.7483 GB, free: 6.93 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.744, allocations: 0 / 0.7483 GB, free: 6.93 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.744, allocations: 3.938 kB / 0.7483 GB, free: 6.926 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.996e-05/0.7441, allocations: 117.8 kB / 0.7484 GB, free: 6.801 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.7441, allocations: 3.984 kB / 0.7484 GB, free: 6.797 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.7442, allocations: 48.73 kB / 0.7484 GB, free: 6.746 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7442, allocations: 0 / 0.7484 GB, free: 6.746 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.7442, allocations: 0 / 0.7484 GB, free: 6.746 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7442, allocations: 0 / 0.7484 GB, free: 6.746 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.7443, allocations: 157.4 kB / 0.7486 GB, free: 6.547 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7443, allocations: 0 / 0.7486 GB, free: 6.547 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.7444, allocations: 4.031 kB / 0.7486 GB, free: 6.543 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.7444, allocations: 7.562 kB / 0.7486 GB, free: 6.539 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.7444, allocations: 0 / 0.7486 GB, free: 6.539 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7444, allocations: 0 / 0.7486 GB, free: 6.539 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7444, allocations: 0 / 0.7486 GB, free: 6.539 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.055e-05/0.7445, allocations: 68.89 kB / 0.7487 GB, free: 6.457 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.7445, allocations: 81.02 kB / 0.7487 GB, free: 6.359 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.7445, allocations: 32 / 0.7487 GB, free: 6.359 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.7445, allocations: 8 kB / 0.7488 GB, free: 6.352 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.7446, allocations: 0 / 0.7488 GB, free: 6.352 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.7446, allocations: 0 / 0.7488 GB, free: 6.352 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.7446, allocations: 75.28 kB / 0.7488 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1e-07/0.7446, allocations: 0 / 0.7488 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.000185/0.7448, allocations: 8 kB / 0.7488 GB, free: 6.27 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.0001052/0.7449, allocations: 107.1 kB / 0.7489 GB, free: 6.16 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 5.824e-05/0.745, allocations: 11.94 kB / 0.7489 GB, free: 6.148 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.745, allocations: 0 / 0.7489 GB, free: 6.148 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-06/0.745, allocations: 7.938 kB / 0.749 GB, free: 6.141 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.115e-05/0.7451, allocations: 7.297 kB / 0.749 GB, free: 6.137 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/0.7453, allocations: 87.25 kB / 0.749 GB, free: 6.027 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.7455, allocations: 0.6731 MB / 0.7497 GB, free: 5.328 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.7455, allocations: 4.125 kB / 0.7497 GB, free: 5.324 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.7455, allocations: 11.44 kB / 0.7497 GB, free: 5.312 MB / 0.5107 GB Notification: Performance of SimCode: time 2.1e-07/0.7455, allocations: 0 / 0.7497 GB, free: 5.312 MB / 0.5107 GB Notification: Performance of Templates: time 0.001711/0.7473, allocations: 260.4 kB / 0.75 GB, free: 5.07 MB / 0.5107 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