Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009225, allocations: 90.41 kB / 17.3 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 178.5 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 242.3 MB, free: 28 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9545/0.9545, allocations: 120.5 MB / 413.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 8 kB / 0.4955 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5418, allocations: 82.83 MB / 0.5764 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0004503/0.5423, allocations: 124.4 kB / 0.5765 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.5427, allocations: 168.2 kB / 0.5767 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.5427, allocations: 1.188 kB / 0.5767 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.5428, allocations: 0 / 0.5767 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.5428, allocations: 0 / 0.5767 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.5429, allocations: 7.125 kB / 0.5767 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.543, allocations: 6.312 kB / 0.5767 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.543, allocations: 1.062 kB / 0.5767 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.5431, allocations: 5.109 kB / 0.5767 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.5431, allocations: 1.094 kB / 0.5767 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.5431, allocations: 3.984 kB / 0.5767 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.5432, allocations: 14.8 kB / 0.5767 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.5432, allocations: 3.938 kB / 0.5767 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.5433, allocations: 30.61 kB / 0.5768 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.467e-05/0.5433, allocations: 7.281 kB / 0.5768 GB, free: 41.61 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5433, allocations: 1.156 kB / 0.5768 GB, free: 41.61 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5433, allocations: 0 / 0.5768 GB, free: 41.61 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.5434, allocations: 0 / 0.5768 GB, free: 41.61 MB / 462.3 MB 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.0002048/0.5436, allocations: 314.1 kB / 0.5771 GB, free: 41.26 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5436, allocations: 9.625 kB / 0.5771 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.5436, allocations: 4.938 kB / 0.5771 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.607e-05/0.5437, allocations: 161.7 kB / 0.5773 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5437, allocations: 384 / 0.5773 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.5437, allocations: 1.688 kB / 0.5773 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.5438, allocations: 40.62 kB / 0.5773 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.5439, allocations: 1.406 kB / 0.5773 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5439, allocations: 3.938 kB / 0.5773 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5439, allocations: 0 / 0.5773 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.5439, allocations: 3.406 kB / 0.5773 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.544, allocations: 156 kB / 0.5775 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.5441, allocations: 24.03 kB / 0.5775 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.5441, allocations: 6.922 kB / 0.5775 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.5443, allocations: 82.45 kB / 0.5776 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.5443, allocations: 43.61 kB / 0.5776 GB, free: 40.63 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5443, allocations: 0 / 0.5776 GB, free: 40.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001205/0.5445, allocations: 42.33 kB / 0.5776 GB, free: 40.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.5445, allocations: 52.41 kB / 0.5777 GB, free: 40.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.007e-05/0.5445, allocations: 89.86 kB / 0.5778 GB, free: 40.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.5445, allocations: 29.64 kB / 0.5778 GB, free: 40.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.422e-05/0.5446, allocations: 85.3 kB / 0.5779 GB, free: 40.31 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.5446, allocations: 3.906 kB / 0.5779 GB, free: 40.3 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.5446, allocations: 14.8 kB / 0.5779 GB, free: 40.29 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.5447, allocations: 312 kB / 0.5782 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.5447, allocations: 5.25 kB / 0.5782 GB, free: 39.97 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.5447, allocations: 2.312 kB / 0.5782 GB, free: 39.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.5447, allocations: 17.27 kB / 0.5782 GB, free: 39.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5447, allocations: 1.219 kB / 0.5782 GB, free: 39.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.87e-05/0.5448, allocations: 33.23 kB / 0.5783 GB, free: 39.92 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5448, allocations: 9.609 kB / 0.5783 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5448, allocations: 0 / 0.5783 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5448, allocations: 3.938 kB / 0.5783 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.5449, allocations: 12 kB / 0.5783 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5449, allocations: 0 / 0.5783 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.5449, allocations: 1.969 kB / 0.5783 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.5449, allocations: 1.312 kB / 0.5783 GB, free: 39.91 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.545, allocations: 114.9 kB / 0.5784 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.545, allocations: 1.5 kB / 0.5784 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/0.5451, allocations: 56.05 kB / 0.5785 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5451, allocations: 0 / 0.5785 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5451, allocations: 4.031 kB / 0.5785 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5451, allocations: 1.125 kB / 0.5785 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.871e-05/0.5451, allocations: 147.8 kB / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5451, allocations: 0 / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.5452, allocations: 3.312 kB / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.5452, allocations: 0 / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.5452, allocations: 4.969 kB / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5452, allocations: 0 / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5452, allocations: 1 kB / 0.5786 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.726e-05/0.5453, allocations: 81.52 kB / 0.5787 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.5453, allocations: 78.27 kB / 0.5788 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.5453, allocations: 3.938 kB / 0.5788 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.5453, allocations: 1.094 kB / 0.5788 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.5453, allocations: 1.312 kB / 0.5788 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.5453, allocations: 0 / 0.5788 GB, free: 39.34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.416e-05/0.5454, allocations: 79.22 kB / 0.5788 GB, free: 39.26 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5454, allocations: 1.156 kB / 0.5788 GB, free: 39.26 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001856/0.5455, allocations: 6.219 kB / 0.5788 GB, free: 39.26 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.818e-05/0.5456, allocations: 97.64 kB / 0.5789 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.32e-05/0.5457, allocations: 10.41 kB / 0.579 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5457, allocations: 1.469 kB / 0.579 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.428e-06/0.5457, allocations: 7.125 kB / 0.579 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.5459, allocations: 7.031 kB / 0.579 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.546, allocations: 111.6 kB / 0.5791 GB, free: 39.02 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.094e-05/0.5462, allocations: 0.6758 MB / 0.5797 GB, free: 38.32 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.5462, allocations: 9.562 kB / 0.5797 GB, free: 38.31 MB / 462.3 MB Notification: Performance of SimCode: time 2.7e-07/0.5462, allocations: 0 / 0.5797 GB, free: 38.31 MB / 462.3 MB Notification: Performance of Templates: time 0.00158/0.5478, allocations: 432.8 kB / 0.5802 GB, free: 38.11 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches