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.0009747/0.0009748, allocations: 91.62 kB / 16.31 MB, free: 6.008 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.001053/0.001053, allocations: 185.8 kB / 17.21 MB, free: 5.902 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.313/1.313, allocations: 223.2 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7224/0.7224, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 8 kB / 0.4942 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 82.86 MB / 0.5752 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0003562/0.129, allocations: 108.9 kB / 0.5753 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.1292, allocations: 29.56 kB / 0.5753 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.1292, allocations: 0 / 0.5753 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.664e-06/0.1292, allocations: 0 / 0.5753 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.1293, allocations: 0 / 0.5753 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.1294, allocations: 4 kB / 0.5753 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.23e-05/0.1294, allocations: 0 / 0.5753 GB, free: 7.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.1295, allocations: 7.938 kB / 0.5753 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.1295, allocations: 7.922 kB / 0.5753 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.1295, allocations: 7.984 kB / 0.5753 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.1295, allocations: 0 / 0.5753 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.1296, allocations: 16 kB / 0.5753 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-06/0.1296, allocations: 0 / 0.5753 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.1296, allocations: 25.7 kB / 0.5754 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.66e-05/0.1297, allocations: 7.984 kB / 0.5754 GB, free: 7.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1297, allocations: 0 / 0.5754 GB, free: 7.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1297, allocations: 0 / 0.5754 GB, free: 7.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.1297, allocations: 0 / 0.5754 GB, free: 7.906 MB / 446.1 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.0002237/0.1299, allocations: 313.3 kB / 0.5757 GB, free: 7.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.13, allocations: 8.031 kB / 0.5757 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.13, allocations: 11.92 kB / 0.5757 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.1301, allocations: 163.1 kB / 0.5758 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1301, allocations: 0 / 0.5758 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1301, allocations: 7.875 kB / 0.5758 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.808e-05/0.1302, allocations: 29.7 kB / 0.5759 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.1302, allocations: 0 / 0.5759 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1302, allocations: 0 / 0.5759 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1302, allocations: 4 kB / 0.5759 GB, free: 7.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.1303, allocations: 11.94 kB / 0.5759 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.1304, allocations: 149.7 kB / 0.576 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/0.1305, allocations: 18.61 kB / 0.5761 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.1305, allocations: 16.86 kB / 0.5761 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.1307, allocations: 85.09 kB / 0.5762 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1307, allocations: 34.56 kB / 0.5762 GB, free: 6.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1307, allocations: 0 / 0.5762 GB, free: 6.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001229/0.1309, allocations: 45.69 kB / 0.5762 GB, free: 6.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.1309, allocations: 51.41 kB / 0.5763 GB, free: 6.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.862e-05/0.1309, allocations: 89.86 kB / 0.5764 GB, free: 6.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.131, allocations: 25.7 kB / 0.5764 GB, free: 6.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.131, allocations: 80.14 kB / 0.5765 GB, free: 6.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.131, allocations: 3.906 kB / 0.5765 GB, free: 6.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/0.131, allocations: 0 / 0.5765 GB, free: 6.562 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.1311, allocations: 322.9 kB / 0.5768 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.1311, allocations: 15.92 kB / 0.5768 GB, free: 6.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-06/0.1312, allocations: 0 / 0.5768 GB, free: 6.223 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.65e-05/0.1312, allocations: 4 kB / 0.5768 GB, free: 6.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1312, allocations: 0 / 0.5768 GB, free: 6.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.527e-05/0.1312, allocations: 33.7 kB / 0.5768 GB, free: 6.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1313, allocations: 6.031 kB / 0.5768 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1313, allocations: 0 / 0.5768 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1313, allocations: 96 / 0.5768 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.1313, allocations: 8 kB / 0.5768 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1313, allocations: 3.984 kB / 0.5768 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.1314, allocations: 4.281 kB / 0.5768 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.1314, allocations: 4 kB / 0.5769 GB, free: 6.156 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.1314, allocations: 109.8 kB / 0.577 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-06/0.1315, allocations: 0 / 0.577 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.1315, allocations: 52.69 kB / 0.577 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1316, allocations: 4.031 kB / 0.577 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1316, allocations: 0 / 0.577 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1316, allocations: 0 / 0.577 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.819e-05/0.1317, allocations: 153.5 kB / 0.5772 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1317, allocations: 0 / 0.5772 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.1317, allocations: 4 kB / 0.5772 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1317, allocations: 3.984 kB / 0.5772 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.1317, allocations: 3.938 kB / 0.5772 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1317, allocations: 4 kB / 0.5772 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1317, allocations: 0 / 0.5772 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.844e-05/0.1318, allocations: 69.03 kB / 0.5772 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1319, allocations: 89.09 kB / 0.5773 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.1319, allocations: 0 / 0.5773 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.1319, allocations: 0 / 0.5773 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.1319, allocations: 0 / 0.5773 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.1319, allocations: 0 / 0.5773 GB, free: 5.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.348e-05/0.1319, allocations: 79.28 kB / 0.5774 GB, free: 5.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1319, allocations: 0 / 0.5774 GB, free: 5.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000176/0.1321, allocations: 4.031 kB / 0.5774 GB, free: 5.484 MB / 446.1 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 (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.0001007/0.1322, allocations: 103.2 kB / 0.5775 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.433e-05/0.1323, allocations: 7.984 kB / 0.5775 GB, free: 5.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1323, allocations: 4 kB / 0.5775 GB, free: 5.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.1323, allocations: 11.94 kB / 0.5775 GB, free: 5.348 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.1325, allocations: 3.953 kB / 0.5775 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/0.1326, allocations: 82.89 kB / 0.5776 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1328, allocations: 0.6731 MB / 0.5783 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.1329, allocations: 4 kB / 0.5783 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.1329, allocations: 7.438 kB / 0.5783 GB, free: 4.523 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1329, allocations: 0 / 0.5783 GB, free: 4.523 MB / 446.1 MB Notification: Performance of Templates: time 0.001761/0.1347, allocations: 274.1 kB / 0.5785 GB, free: 4.258 MB / 446.1 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/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