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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 93.39 kB / 17.31 MB, free: 6.535 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.001112/0.001112, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.363/1.363, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9538/0.9538, allocations: 120.5 MB / 413.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003102, allocations: 8 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.538/0.5384, allocations: 82.84 MB / 0.5764 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004992/0.5389, allocations: 122.2 kB / 0.5766 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002108/0.5391, allocations: 35.12 kB / 0.5766 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.5392, allocations: 0 / 0.5766 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.5392, allocations: 4 kB / 0.5766 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.5393, allocations: 1 kB / 0.5766 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.5394, allocations: 10.3 kB / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.891e-05/0.5394, allocations: 2.281 kB / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.5395, allocations: 1.062 kB / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.5395, allocations: 1.156 kB / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.5396, allocations: 0.875 kB / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.5396, allocations: 0 / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.5396, allocations: 13.55 kB / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.5397, allocations: 7.922 kB / 0.5766 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.5397, allocations: 30.73 kB / 0.5767 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.254e-05/0.5397, allocations: 3.469 kB / 0.5767 GB, free: 41.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5398, allocations: 0 / 0.5767 GB, free: 41.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5398, allocations: 1.25 kB / 0.5767 GB, free: 41.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.5398, allocations: 0 / 0.5767 GB, free: 41.75 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.0001982/0.54, allocations: 317.7 kB / 0.577 GB, free: 41.39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.54, allocations: 9.562 kB / 0.577 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.5401, allocations: 0.9375 kB / 0.577 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.16e-05/0.5401, allocations: 161.4 kB / 0.5771 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.5401, allocations: 4.375 kB / 0.5771 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.5401, allocations: 1.531 kB / 0.5771 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.5402, allocations: 42.23 kB / 0.5772 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.5403, allocations: 192 / 0.5772 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5403, allocations: 3.938 kB / 0.5772 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5403, allocations: 3.938 kB / 0.5772 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.5403, allocations: 7.562 kB / 0.5772 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.5404, allocations: 144.4 kB / 0.5773 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.5405, allocations: 31.22 kB / 0.5774 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.5405, allocations: 7.953 kB / 0.5774 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.5407, allocations: 86.53 kB / 0.5774 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.5407, allocations: 35.97 kB / 0.5775 GB, free: 40.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5407, allocations: 0 / 0.5775 GB, free: 40.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.5409, allocations: 41.52 kB / 0.5775 GB, free: 40.73 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.5409, allocations: 57.44 kB / 0.5776 GB, free: 40.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.767e-05/0.5409, allocations: 93.8 kB / 0.5777 GB, free: 40.56 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.541, allocations: 25.7 kB / 0.5777 GB, free: 40.53 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.112e-05/0.541, allocations: 80.14 kB / 0.5778 GB, free: 40.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.541, allocations: 9.391 kB / 0.5778 GB, free: 40.44 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.541, allocations: 13.72 kB / 0.5778 GB, free: 40.42 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.5411, allocations: 312.4 kB / 0.5781 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.5411, allocations: 2 kB / 0.5781 GB, free: 40.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.5411, allocations: 1.875 kB / 0.5781 GB, free: 40.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.5411, allocations: 20.7 kB / 0.5781 GB, free: 40.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5411, allocations: 0 / 0.5781 GB, free: 40.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.903e-05/0.5412, allocations: 39.34 kB / 0.5781 GB, free: 40.05 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5412, allocations: 3.781 kB / 0.5781 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5412, allocations: 1.844 kB / 0.5781 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.5412, allocations: 3.938 kB / 0.5782 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.5413, allocations: 1.969 kB / 0.5782 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5413, allocations: 1.969 kB / 0.5782 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.5413, allocations: 2 kB / 0.5782 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.5413, allocations: 4 kB / 0.5782 GB, free: 40.05 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.234e-05/0.5414, allocations: 111.9 kB / 0.5783 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.5414, allocations: 0 / 0.5783 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.32e-05/0.5415, allocations: 53.59 kB / 0.5783 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.5415, allocations: 0 / 0.5783 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5415, allocations: 0 / 0.5783 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5415, allocations: 0 / 0.5783 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.918e-05/0.5416, allocations: 152.8 kB / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5416, allocations: 0 / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.5416, allocations: 2.188 kB / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.5416, allocations: 1.062 kB / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.5416, allocations: 5.25 kB / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5416, allocations: 0 / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5416, allocations: 0 / 0.5785 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.208e-05/0.5417, allocations: 65.53 kB / 0.5785 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.5417, allocations: 86.61 kB / 0.5786 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.5417, allocations: 3.938 kB / 0.5786 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.5417, allocations: 5.562 kB / 0.5786 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.5417, allocations: 0 / 0.5786 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5418, allocations: 5.438 kB / 0.5786 GB, free: 39.48 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.14e-05/0.5418, allocations: 79.28 kB / 0.5787 GB, free: 39.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5418, allocations: 0 / 0.5787 GB, free: 39.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001919/0.542, allocations: 7.078 kB / 0.5787 GB, free: 39.4 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 9.168e-05/0.5421, allocations: 102.5 kB / 0.5788 GB, free: 39.3 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.886e-05/0.5421, allocations: 5.781 kB / 0.5788 GB, free: 39.3 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5421, allocations: 0 / 0.5788 GB, free: 39.3 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.5422, allocations: 8.469 kB / 0.5788 GB, free: 39.3 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.5423, allocations: 5.25 kB / 0.5788 GB, free: 39.29 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.5425, allocations: 111.5 kB / 0.5789 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.071e-05/0.5426, allocations: 0.6714 MB / 0.5796 GB, free: 38.46 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.5426, allocations: 8.594 kB / 0.5796 GB, free: 38.45 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.5426, allocations: 4.125 kB / 0.5796 GB, free: 38.45 MB / 462.3 MB Notification: Performance of Templates: time 0.001734/0.5443, allocations: 436.4 kB / 0.58 GB, free: 38.24 MB / 462.3 MB 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/jenkins1/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