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.001279/0.001279, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001334/0.001334, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.336/1.336, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.269/1.269, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7201/0.7221, allocations: 80.68 MB / 0.5711 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.002544/0.7248, allocations: 399.2 kB / 0.5715 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002733/0.7251, allocations: 36.25 kB / 0.5716 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.7251, allocations: 0 / 0.5716 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.7252, allocations: 4 kB / 0.5716 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.7252, allocations: 0 / 0.5716 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.7255, allocations: 18.59 kB / 0.5716 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.7256, allocations: 2.688 kB / 0.5716 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.675e-05/0.7256, allocations: 1.406 kB / 0.5716 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.7257, allocations: 1.438 kB / 0.5716 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.7257, allocations: 0 / 0.5716 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.7258, allocations: 1.406 kB / 0.5716 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.7259, allocations: 13.58 kB / 0.5716 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.7259, allocations: 3.938 kB / 0.5716 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.7259, allocations: 4 kB / 0.5716 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.726, allocations: 12.16 kB / 0.5716 GB, free: 43.11 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.726, allocations: 1.406 kB / 0.5716 GB, free: 43.11 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.864e-06/0.726, allocations: 0 / 0.5716 GB, free: 43.11 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.726, allocations: 0 / 0.5716 GB, free: 43.11 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.0002721/0.7263, allocations: 315.9 kB / 0.5719 GB, free: 42.75 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.7264, allocations: 13.8 kB / 0.5719 GB, free: 42.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.7264, allocations: 0.9375 kB / 0.5719 GB, free: 42.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.974e-05/0.7265, allocations: 164.4 kB / 0.5721 GB, free: 42.55 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.7265, allocations: 1.906 kB / 0.5721 GB, free: 42.55 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.7265, allocations: 5.656 kB / 0.5721 GB, free: 42.55 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.7267, allocations: 36.48 kB / 0.5721 GB, free: 42.51 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.7267, allocations: 192 / 0.5721 GB, free: 42.51 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.7267, allocations: 4.906 kB / 0.5721 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.7267, allocations: 0 / 0.5721 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.7268, allocations: 6.797 kB / 0.5721 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.7269, allocations: 152.7 kB / 0.5723 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.727, allocations: 31.23 kB / 0.5723 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.727, allocations: 7.422 kB / 0.5723 GB, free: 42.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.7272, allocations: 86.88 kB / 0.5724 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.7273, allocations: 36.12 kB / 0.5724 GB, free: 42.12 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.7273, allocations: 0 / 0.5724 GB, free: 42.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001584/0.7274, allocations: 46.47 kB / 0.5725 GB, free: 42.08 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.7275, allocations: 51.41 kB / 0.5725 GB, free: 42.02 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.16e-05/0.7275, allocations: 93.98 kB / 0.5726 GB, free: 41.91 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.7275, allocations: 27.58 kB / 0.5727 GB, free: 41.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.7276, allocations: 80.14 kB / 0.5727 GB, free: 41.8 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.7276, allocations: 3.906 kB / 0.5727 GB, free: 41.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.7276, allocations: 16.81 kB / 0.5728 GB, free: 41.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.7277, allocations: 310.8 kB / 0.573 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.7277, allocations: 1.594 kB / 0.573 GB, free: 41.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.7277, allocations: 6.672 kB / 0.5731 GB, free: 41.46 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.7278, allocations: 22.17 kB / 0.5731 GB, free: 41.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7278, allocations: 0 / 0.5731 GB, free: 41.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.443e-05/0.7279, allocations: 33.3 kB / 0.5731 GB, free: 41.41 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7279, allocations: 5.719 kB / 0.5731 GB, free: 41.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7279, allocations: 0 / 0.5731 GB, free: 41.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7279, allocations: 3.938 kB / 0.5731 GB, free: 41.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.728, allocations: 3.625 kB / 0.5731 GB, free: 41.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.728, allocations: 3.984 kB / 0.5731 GB, free: 41.4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.728, allocations: 5.406 kB / 0.5731 GB, free: 41.4 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.728, allocations: 4.031 kB / 0.5731 GB, free: 41.39 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 5.957e-05/0.7281, allocations: 112.1 kB / 0.5732 GB, free: 41.28 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.7281, allocations: 1.219 kB / 0.5732 GB, free: 41.28 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.7282, allocations: 56.64 kB / 0.5733 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7282, allocations: 0 / 0.5733 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7282, allocations: 0 / 0.5733 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7282, allocations: 0 / 0.5733 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.122e-05/0.7283, allocations: 144.4 kB / 0.5734 GB, free: 41.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7283, allocations: 4 kB / 0.5734 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.7283, allocations: 2.781 kB / 0.5734 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7283, allocations: 5.547 kB / 0.5734 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.7283, allocations: 3.938 kB / 0.5734 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7284, allocations: 7.875 kB / 0.5735 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7284, allocations: 1.719 kB / 0.5735 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.624e-05/0.7284, allocations: 61.55 kB / 0.5735 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.7285, allocations: 81.14 kB / 0.5736 GB, free: 40.85 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.7285, allocations: 9.422 kB / 0.5736 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.7285, allocations: 4 kB / 0.5736 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.7285, allocations: 1.25 kB / 0.5736 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.7285, allocations: 0 / 0.5736 GB, free: 40.84 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.7286, allocations: 76.72 kB / 0.5737 GB, free: 40.76 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7286, allocations: 0 / 0.5737 GB, free: 40.76 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002304/0.7288, allocations: 2.656 kB / 0.5737 GB, free: 40.76 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.0001151/0.7289, allocations: 102.2 kB / 0.5738 GB, free: 40.66 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 9.251e-05/0.729, allocations: 10.86 kB / 0.5738 GB, free: 40.66 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.729, allocations: 0 / 0.5738 GB, free: 40.66 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.729, allocations: 12.06 kB / 0.5738 GB, free: 40.65 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.7292, allocations: 1.375 kB / 0.5738 GB, free: 40.65 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.7294, allocations: 89.08 kB / 0.5739 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.7296, allocations: 0.6742 MB / 0.5745 GB, free: 39.85 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.589e-05/0.7296, allocations: 5.5 kB / 0.5746 GB, free: 39.84 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.7296, allocations: 8.812 kB / 0.5746 GB, free: 39.84 MB / 462.3 MB Notification: Performance of SimCode: time 1.8e-07/0.7296, allocations: 0 / 0.5746 GB, free: 39.84 MB / 462.3 MB Notification: Performance of Templates: time 0.00302/0.7326, allocations: 291 kB / 0.5748 GB, free: 39.68 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches