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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 107.2 kB / 17.06 MB, free: 6.102 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.002025/0.002025, allocations: 193.4 kB / 18 MB, free: 5.172 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.461/1.461, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.094/1.094, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.61 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1731, allocations: 80.69 MB / 0.6497 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001525/0.1747, allocations: 396.4 kB / 0.6501 GB, free: 12.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000219/0.1749, allocations: 35.88 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.1749, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.175, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.175, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.1752, allocations: 8 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.1752, allocations: 7.922 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.1753, allocations: 0 / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.1753, allocations: 4 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.1754, allocations: 3.938 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.1754, allocations: 0 / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.1755, allocations: 15.98 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.1755, allocations: 7.984 kB / 0.6502 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.1755, allocations: 0 / 0.6502 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.458e-05/0.1756, allocations: 7.938 kB / 0.6502 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1756, allocations: 0 / 0.6502 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1756, allocations: 0 / 0.6502 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.1756, allocations: 0 / 0.6502 GB, free: 12.63 MB / 0.4983 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.0003284/0.1759, allocations: 319.5 kB / 0.6505 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.176, allocations: 8.031 kB / 0.6505 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.176, allocations: 8.891 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1761, allocations: 164.4 kB / 0.6506 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1762, allocations: 384 / 0.6506 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.1762, allocations: 384 / 0.6506 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.699e-05/0.1763, allocations: 34.25 kB / 0.6507 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1763, allocations: 192 / 0.6507 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1763, allocations: 7.922 kB / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1763, allocations: 0 / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.1764, allocations: 15.88 kB / 0.6507 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1765, allocations: 149.7 kB / 0.6508 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.492e-05/0.1766, allocations: 30.61 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.1766, allocations: 4.859 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.1769, allocations: 89.16 kB / 0.651 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1769, allocations: 30.56 kB / 0.651 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1769, allocations: 0 / 0.651 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.1771, allocations: 45.67 kB / 0.651 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1771, allocations: 59.42 kB / 0.6511 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.248e-05/0.1772, allocations: 93.86 kB / 0.6512 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1772, allocations: 25.7 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.1773, allocations: 80.14 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1773, allocations: 3.953 kB / 0.6513 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1773, allocations: 17.72 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1775, allocations: 310.8 kB / 0.6516 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.1775, allocations: 0 / 0.6516 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-06/0.1775, allocations: 8 kB / 0.6516 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.1776, allocations: 12.86 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1776, allocations: 3.984 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.057e-05/0.1776, allocations: 37.64 kB / 0.6517 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1776, allocations: 4 kB / 0.6517 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1777, allocations: 7.922 kB / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1777, allocations: 7.938 kB / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.1777, allocations: 0 / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1777, allocations: 4.094 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.1778, allocations: 4 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1778, allocations: 4 kB / 0.6517 GB, free: 10.82 MB / 0.4983 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.895e-05/0.1779, allocations: 110.7 kB / 0.6518 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-06/0.1779, allocations: 0 / 0.6518 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.178, allocations: 48.7 kB / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.178, allocations: 0 / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.178, allocations: 0 / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.178, allocations: 12.02 kB / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1781, allocations: 145.6 kB / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1781, allocations: 0 / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.1781, allocations: 4 kB / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1782, allocations: 0 / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1782, allocations: 3.938 kB / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1782, allocations: 0 / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1782, allocations: 0 / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.145e-05/0.1783, allocations: 69.12 kB / 0.6521 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.1783, allocations: 77.11 kB / 0.6521 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1783, allocations: 15.81 kB / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.1783, allocations: 0 / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1784, allocations: 3.984 kB / 0.6521 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1784, allocations: 8 kB / 0.6522 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.1784, allocations: 75.28 kB / 0.6522 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of sort global known variables: time 9e-08/0.1784, allocations: 0 / 0.6522 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001941/0.1786, allocations: 0 / 0.6522 GB, free: 10.16 MB / 0.4983 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001221/0.1788, allocations: 103.8 kB / 0.6523 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.1788, allocations: 8 kB / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1788, allocations: 0 / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.105e-05/0.1789, allocations: 11.98 kB / 0.6523 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.179, allocations: 3.938 kB / 0.6524 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.1792, allocations: 88.91 kB / 0.6524 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1796, allocations: 0.6766 MB / 0.6531 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.1796, allocations: 12.05 kB / 0.6531 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.1796, allocations: 7.438 kB / 0.6531 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.1796, allocations: 0 / 0.6531 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of Templates: time 0.002536/0.1821, allocations: 286.8 kB / 0.6534 GB, free: 8.914 MB / 0.4983 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches