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.001296/0.001296, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001332/0.001332, allocations: 192 kB / 18.63 MB, free: 4.375 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.475/1.475, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.217/1.217, allocations: 119.3 MB / 411.8 MB, free: 9.539 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 67.88 kB / 0.4924 GB, free: 13.04 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7633, allocations: 80.69 MB / 0.5712 GB, free: 43.59 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001696/0.765, allocations: 387.8 kB / 0.5715 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000247/0.7653, allocations: 38.94 kB / 0.5716 GB, free: 43.29 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.7654, allocations: 0 / 0.5716 GB, free: 43.29 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.7654, allocations: 0 / 0.5716 GB, free: 43.29 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.7655, allocations: 1.312 kB / 0.5716 GB, free: 43.29 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.7656, allocations: 6.125 kB / 0.5716 GB, free: 43.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.7657, allocations: 10.64 kB / 0.5716 GB, free: 43.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.7658, allocations: 1.719 kB / 0.5716 GB, free: 43.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.7658, allocations: 3.938 kB / 0.5716 GB, free: 43.27 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.7659, allocations: 0.9688 kB / 0.5716 GB, free: 43.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.7659, allocations: 1.688 kB / 0.5716 GB, free: 43.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.766, allocations: 12.05 kB / 0.5716 GB, free: 43.26 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.766, allocations: 5.234 kB / 0.5716 GB, free: 43.26 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.766, allocations: 0 / 0.5716 GB, free: 43.26 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.985e-05/0.7661, allocations: 8.922 kB / 0.5716 GB, free: 43.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7661, allocations: 0 / 0.5716 GB, free: 43.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.226e-06/0.7661, allocations: 4 kB / 0.5716 GB, free: 43.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.7661, allocations: 1.562 kB / 0.5716 GB, free: 43.25 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.0002755/0.7664, allocations: 319.1 kB / 0.5719 GB, free: 42.89 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7665, allocations: 9.688 kB / 0.5719 GB, free: 42.89 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.7665, allocations: 4.875 kB / 0.5719 GB, free: 42.89 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.329e-05/0.7666, allocations: 164.4 kB / 0.5721 GB, free: 42.69 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7666, allocations: 5.656 kB / 0.5721 GB, free: 42.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.7666, allocations: 1.906 kB / 0.5721 GB, free: 42.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.995e-05/0.7667, allocations: 41.22 kB / 0.5721 GB, free: 42.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7667, allocations: 4.188 kB / 0.5722 GB, free: 42.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7667, allocations: 3.938 kB / 0.5722 GB, free: 42.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7667, allocations: 0 / 0.5722 GB, free: 42.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.488e-05/0.7668, allocations: 2.969 kB / 0.5722 GB, free: 42.63 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.7669, allocations: 148.7 kB / 0.5723 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.767, allocations: 27.7 kB / 0.5723 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.767, allocations: 7.422 kB / 0.5723 GB, free: 42.4 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.7672, allocations: 90.19 kB / 0.5724 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.7673, allocations: 31.91 kB / 0.5725 GB, free: 42.26 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7673, allocations: 0 / 0.5725 GB, free: 42.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.7675, allocations: 42.2 kB / 0.5725 GB, free: 42.22 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.7675, allocations: 56.73 kB / 0.5725 GB, free: 42.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.921e-05/0.7675, allocations: 89.86 kB / 0.5726 GB, free: 42.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.7676, allocations: 25.7 kB / 0.5727 GB, free: 42.03 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.963e-05/0.7676, allocations: 84.27 kB / 0.5727 GB, free: 41.94 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.7676, allocations: 9.375 kB / 0.5727 GB, free: 41.93 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.7676, allocations: 12.84 kB / 0.5728 GB, free: 41.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.7677, allocations: 310.8 kB / 0.5731 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.7677, allocations: 5.25 kB / 0.5731 GB, free: 41.6 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.064e-05/0.7678, allocations: 3.094 kB / 0.5731 GB, free: 41.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.7678, allocations: 13.02 kB / 0.5731 GB, free: 41.59 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7678, allocations: 64 / 0.5731 GB, free: 41.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.674e-05/0.7679, allocations: 45.78 kB / 0.5731 GB, free: 41.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7679, allocations: 5.5 kB / 0.5731 GB, free: 41.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.7679, allocations: 0 / 0.5731 GB, free: 41.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7679, allocations: 5.219 kB / 0.5731 GB, free: 41.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.768, allocations: 2.719 kB / 0.5731 GB, free: 41.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.768, allocations: 0 / 0.5731 GB, free: 41.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.768, allocations: 9.312 kB / 0.5731 GB, free: 41.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.768, allocations: 0 / 0.5731 GB, free: 41.54 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 7.266e-05/0.7681, allocations: 119.2 kB / 0.5733 GB, free: 41.41 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.7681, allocations: 5.312 kB / 0.5733 GB, free: 41.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.7683, allocations: 47.44 kB / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7683, allocations: 1.375 kB / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.7683, allocations: 0 / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7683, allocations: 3.984 kB / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.985e-05/0.7684, allocations: 144.4 kB / 0.5734 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7684, allocations: 0 / 0.5734 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.7684, allocations: 6.75 kB / 0.5735 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7684, allocations: 5.406 kB / 0.5735 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.7684, allocations: 3.938 kB / 0.5735 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7684, allocations: 5.312 kB / 0.5735 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7684, allocations: 0 / 0.5735 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.974e-05/0.7685, allocations: 65.31 kB / 0.5735 GB, free: 41.08 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.7686, allocations: 78.48 kB / 0.5736 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.7686, allocations: 3.938 kB / 0.5736 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.7686, allocations: 1.375 kB / 0.5736 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.7686, allocations: 8.016 kB / 0.5736 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.7686, allocations: 1.375 kB / 0.5736 GB, free: 40.97 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.7687, allocations: 75.28 kB / 0.5737 GB, free: 40.9 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.7687, allocations: 0 / 0.5737 GB, free: 40.9 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002057/0.7689, allocations: 4.125 kB / 0.5737 GB, free: 40.9 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 0.0001623/0.7691, allocations: 93.53 kB / 0.5738 GB, free: 40.81 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.7692, allocations: 14.81 kB / 0.5738 GB, free: 40.8 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7692, allocations: 4.062 kB / 0.5738 GB, free: 40.8 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.7692, allocations: 8.109 kB / 0.5738 GB, free: 40.79 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.7694, allocations: 3.25 kB / 0.5738 GB, free: 40.79 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.7696, allocations: 93.08 kB / 0.5739 GB, free: 40.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.7697, allocations: 0.6716 MB / 0.5746 GB, free: 39.99 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.177e-05/0.7698, allocations: 5.359 kB / 0.5746 GB, free: 39.98 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.7698, allocations: 8.812 kB / 0.5746 GB, free: 39.98 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.7698, allocations: 4.062 kB / 0.5746 GB, free: 39.97 MB / 462.3 MB Notification: Performance of Templates: time 0.002393/0.7722, allocations: 281.3 kB / 0.5748 GB, free: 39.82 MB / 462.3 MB 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 -s cvode -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