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.001212/0.001212, allocations: 113.7 kB / 17.06 MB, free: 5.996 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.001208/0.001208, allocations: 198.9 kB / 18 MB, free: 5.078 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.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9357/0.9357, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 60.78 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1475, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001596/0.1492, allocations: 389 kB / 0.6501 GB, free: 12.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.1494, allocations: 27.88 kB / 0.6501 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.1494, allocations: 0 / 0.6501 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.1495, allocations: 4 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.1495, allocations: 4 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.1497, allocations: 11.94 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.1498, allocations: 7.938 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.1498, allocations: 3.984 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.1498, allocations: 0 / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.1499, allocations: 7.984 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.1499, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.15, allocations: 11.98 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.15, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.1501, allocations: 4 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.976e-05/0.1501, allocations: 7.938 kB / 0.6502 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1502, allocations: 4 kB / 0.6502 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1502, allocations: 0 / 0.6502 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.1502, allocations: 0 / 0.6502 GB, free: 12.62 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.000292/0.1505, allocations: 319.6 kB / 0.6505 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1505, allocations: 8.031 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.1506, allocations: 4.844 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1507, allocations: 160.4 kB / 0.6506 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1507, allocations: 4.375 kB / 0.6506 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.1507, allocations: 12.25 kB / 0.6506 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/0.1508, allocations: 34.25 kB / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1508, allocations: 192 / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1508, allocations: 7.938 kB / 0.6507 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1508, allocations: 0 / 0.6507 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.1509, allocations: 8 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.151, allocations: 145.7 kB / 0.6508 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.1511, allocations: 26.61 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.1511, allocations: 12.86 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.1514, allocations: 85.09 kB / 0.651 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1514, allocations: 34.56 kB / 0.651 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1514, allocations: 0 / 0.651 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.1515, allocations: 41.64 kB / 0.651 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1516, allocations: 51.53 kB / 0.6511 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.222e-05/0.1516, allocations: 93.86 kB / 0.6512 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1516, allocations: 25.7 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.1517, allocations: 84.12 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1517, allocations: 11.84 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1517, allocations: 13.72 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1519, allocations: 310.8 kB / 0.6516 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.1519, allocations: 7.938 kB / 0.6516 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.1519, allocations: 0 / 0.6516 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.1519, allocations: 20.92 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1519, allocations: 0 / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.001e-05/0.152, allocations: 37.69 kB / 0.6517 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.152, allocations: 4 kB / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.152, allocations: 7.922 kB / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.152, allocations: 3.938 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.1521, allocations: 4 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1521, allocations: 0 / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.1521, allocations: 0 / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1521, allocations: 4.031 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.409e-05/0.1522, allocations: 118.7 kB / 0.6518 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.1522, allocations: 3.984 kB / 0.6518 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.1523, allocations: 44.77 kB / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1523, allocations: 0 / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1523, allocations: 0 / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1524, allocations: 0 / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.1525, allocations: 157.7 kB / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1525, allocations: 3.984 kB / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.1525, allocations: 0 / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1525, allocations: 4 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.1525, allocations: 7.875 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1525, allocations: 0 / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1525, allocations: 0 / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.224e-05/0.1526, allocations: 65.06 kB / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.1526, allocations: 81.14 kB / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1527, allocations: 11.94 kB / 0.6522 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.1527, allocations: 4 kB / 0.6522 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.1527, allocations: 3.984 kB / 0.6522 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.1527, allocations: 0 / 0.6522 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.1527, allocations: 75.28 kB / 0.6522 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1527, allocations: 0 / 0.6522 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001848/0.1529, allocations: 4 kB / 0.6522 GB, free: 10.15 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.0001075/0.153, allocations: 99.72 kB / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.1531, allocations: 11.94 kB / 0.6523 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1531, allocations: 0 / 0.6523 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.1532, allocations: 8 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1533, allocations: 4 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.0001881/0.1535, allocations: 81.06 kB / 0.6524 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1537, allocations: 0.6765 MB / 0.6531 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.1538, allocations: 12.06 kB / 0.6531 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.1538, allocations: 11.42 kB / 0.6531 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of SimCode: time 2.7e-07/0.1538, allocations: 0 / 0.6531 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of Templates: time 0.002025/0.1558, allocations: 280.2 kB / 0.6534 GB, free: 8.918 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