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.001302/0.001301, allocations: 88.39 kB / 16.31 MB, free: 6.453 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.001466/0.001466, allocations: 186.4 kB / 17.21 MB, free: 6.32 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.471/1.471, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.106/1.106, allocations: 120.5 MB / 412.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 4 kB / 0.4943 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.5724, allocations: 82.84 MB / 0.5752 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004311/0.5729, allocations: 107.2 kB / 0.5753 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.573, allocations: 34.55 kB / 0.5753 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.5731, allocations: 4.375 kB / 0.5753 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.548e-06/0.5731, allocations: 0 / 0.5753 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.5732, allocations: 0 / 0.5753 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.5733, allocations: 14.41 kB / 0.5753 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.5734, allocations: 2.312 kB / 0.5753 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.5734, allocations: 0 / 0.5753 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.5734, allocations: 1.25 kB / 0.5753 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.5735, allocations: 5.031 kB / 0.5753 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.5735, allocations: 1.188 kB / 0.5753 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.5736, allocations: 20.77 kB / 0.5753 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-06/0.5736, allocations: 0 / 0.5753 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.5736, allocations: 30.7 kB / 0.5754 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.847e-05/0.5737, allocations: 3.188 kB / 0.5754 GB, free: 41.29 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5737, allocations: 0 / 0.5754 GB, free: 41.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5737, allocations: 0 / 0.5754 GB, free: 41.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.5737, allocations: 1.156 kB / 0.5754 GB, free: 41.29 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.0002138/0.5739, allocations: 309.9 kB / 0.5757 GB, free: 40.95 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.574, allocations: 8.938 kB / 0.5757 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.574, allocations: 13.19 kB / 0.5757 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.818e-05/0.5741, allocations: 163.1 kB / 0.5758 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5741, allocations: 0 / 0.5758 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-06/0.5741, allocations: 1.156 kB / 0.5758 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.5742, allocations: 37.16 kB / 0.5759 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.5742, allocations: 0 / 0.5759 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.5742, allocations: 0 / 0.5759 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5742, allocations: 5.047 kB / 0.5759 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.5743, allocations: 2.219 kB / 0.5759 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.5744, allocations: 156.9 kB / 0.576 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.707e-05/0.5745, allocations: 18.83 kB / 0.5761 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.5745, allocations: 11.11 kB / 0.5761 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.5747, allocations: 87.66 kB / 0.5762 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5747, allocations: 35.62 kB / 0.5762 GB, free: 40.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5747, allocations: 0 / 0.5762 GB, free: 40.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001437/0.5749, allocations: 41.45 kB / 0.5762 GB, free: 40.28 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.5749, allocations: 56.92 kB / 0.5763 GB, free: 40.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.724e-05/0.575, allocations: 93.81 kB / 0.5764 GB, free: 40.11 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.575, allocations: 25.7 kB / 0.5764 GB, free: 40.08 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.333e-05/0.575, allocations: 81.05 kB / 0.5765 GB, free: 40 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.575, allocations: 4.812 kB / 0.5765 GB, free: 39.99 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.575, allocations: 0 / 0.5765 GB, free: 39.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.5751, allocations: 312.2 kB / 0.5768 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.5751, allocations: 9.281 kB / 0.5768 GB, free: 39.67 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.5751, allocations: 2.312 kB / 0.5768 GB, free: 39.67 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.5752, allocations: 2.281 kB / 0.5768 GB, free: 39.67 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5752, allocations: 3.938 kB / 0.5768 GB, free: 39.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.045e-05/0.5752, allocations: 41.41 kB / 0.5768 GB, free: 39.63 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5753, allocations: 5.281 kB / 0.5768 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5753, allocations: 4 kB / 0.5768 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5753, allocations: 0.9375 kB / 0.5768 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.5753, allocations: 3 kB / 0.5768 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5754, allocations: 96 / 0.5768 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.5754, allocations: 14.91 kB / 0.5769 GB, free: 39.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5754, allocations: 4.984 kB / 0.5769 GB, free: 39.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.5755, allocations: 106.9 kB / 0.577 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-06/0.5755, allocations: 1 kB / 0.577 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.5756, allocations: 48.5 kB / 0.577 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5756, allocations: 0 / 0.577 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5756, allocations: 0 / 0.577 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5756, allocations: 5.219 kB / 0.577 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.591e-05/0.5757, allocations: 154.9 kB / 0.5772 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5757, allocations: 1.219 kB / 0.5772 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.5757, allocations: 2.312 kB / 0.5772 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5757, allocations: 1.219 kB / 0.5772 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.5757, allocations: 0 / 0.5772 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5757, allocations: 1.219 kB / 0.5772 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5757, allocations: 0 / 0.5772 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.802e-05/0.5758, allocations: 77.17 kB / 0.5772 GB, free: 39.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.5758, allocations: 82.3 kB / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.5759, allocations: 1.469 kB / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.5759, allocations: 0 / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.5759, allocations: 1.406 kB / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.5759, allocations: 0 / 0.5773 GB, free: 39.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.526e-05/0.5759, allocations: 79.27 kB / 0.5774 GB, free: 38.97 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5759, allocations: 1.406 kB / 0.5774 GB, free: 38.97 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001795/0.5761, allocations: 6.844 kB / 0.5774 GB, free: 38.97 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 (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.0001287/0.5762, allocations: 96.97 kB / 0.5775 GB, free: 38.88 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.5763, allocations: 6.531 kB / 0.5775 GB, free: 38.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5763, allocations: 0 / 0.5775 GB, free: 38.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.5763, allocations: 7.969 kB / 0.5775 GB, free: 38.87 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.5765, allocations: 4.922 kB / 0.5775 GB, free: 38.87 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.5767, allocations: 86.56 kB / 0.5776 GB, free: 38.76 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.5768, allocations: 0.6719 MB / 0.5783 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.5768, allocations: 5.281 kB / 0.5783 GB, free: 38.06 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.5769, allocations: 8.688 kB / 0.5783 GB, free: 38.05 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.5769, allocations: 0 / 0.5783 GB, free: 38.05 MB / 462.3 MB Notification: Performance of Templates: time 0.002114/0.579, allocations: 276.8 kB / 0.5785 GB, free: 37.9 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches