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.001138/0.001139, allocations: 91.39 kB / 16.65 MB, free: 6.113 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.001614/0.001614, allocations: 188.5 kB / 17.57 MB, free: 5.777 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.421/1.421, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9739/0.9739, allocations: 120.5 MB / 413.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003619, allocations: 8 kB / 0.4949 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5616, allocations: 82.84 MB / 0.5758 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004848/0.5621, allocations: 124.6 kB / 0.5759 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002343/0.5624, allocations: 27.83 kB / 0.5759 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.5624, allocations: 0 / 0.5759 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.5624, allocations: 0 / 0.5759 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.5625, allocations: 1.188 kB / 0.5759 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.5627, allocations: 17.34 kB / 0.576 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.518e-05/0.5627, allocations: 1.219 kB / 0.576 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.5627, allocations: 1.125 kB / 0.576 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.5628, allocations: 1.188 kB / 0.576 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.5628, allocations: 5.094 kB / 0.576 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.5628, allocations: 0 / 0.576 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.5629, allocations: 13.77 kB / 0.576 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.5629, allocations: 3.938 kB / 0.576 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.563, allocations: 30.98 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.034e-05/0.563, allocations: 11.72 kB / 0.576 GB, free: 41.13 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5631, allocations: 1.469 kB / 0.576 GB, free: 41.13 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5631, allocations: 0 / 0.576 GB, free: 41.13 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.5631, allocations: 0 / 0.576 GB, free: 41.13 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.0002212/0.5633, allocations: 313.9 kB / 0.5763 GB, free: 40.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5633, allocations: 9.781 kB / 0.5763 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.5634, allocations: 0.9375 kB / 0.5763 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.5635, allocations: 169.3 kB / 0.5765 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5635, allocations: 8.312 kB / 0.5765 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.5635, allocations: 1.344 kB / 0.5765 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.5636, allocations: 29.55 kB / 0.5765 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5636, allocations: 192 / 0.5765 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.5636, allocations: 4.906 kB / 0.5765 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5636, allocations: 0 / 0.5765 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.5637, allocations: 3.281 kB / 0.5765 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.5638, allocations: 151.7 kB / 0.5767 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.5638, allocations: 28.11 kB / 0.5767 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.5639, allocations: 10.89 kB / 0.5767 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.5641, allocations: 86.5 kB / 0.5768 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.5641, allocations: 31.59 kB / 0.5768 GB, free: 40.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.5641, allocations: 1.031 kB / 0.5768 GB, free: 40.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.5642, allocations: 45.69 kB / 0.5769 GB, free: 40.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.5643, allocations: 60.44 kB / 0.5769 GB, free: 40.04 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.953e-05/0.5643, allocations: 89.86 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.5643, allocations: 26.67 kB / 0.577 GB, free: 39.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.42e-05/0.5643, allocations: 80.14 kB / 0.5771 GB, free: 39.83 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.5644, allocations: 4.875 kB / 0.5771 GB, free: 39.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.5644, allocations: 10.81 kB / 0.5771 GB, free: 39.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.5644, allocations: 314.8 kB / 0.5774 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.5645, allocations: 2.312 kB / 0.5774 GB, free: 39.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-06/0.5645, allocations: 6.234 kB / 0.5774 GB, free: 39.49 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.5645, allocations: 12.98 kB / 0.5775 GB, free: 39.48 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5645, allocations: 0.9062 kB / 0.5775 GB, free: 39.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.228e-05/0.5646, allocations: 37.45 kB / 0.5775 GB, free: 39.45 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5646, allocations: 4.719 kB / 0.5775 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5646, allocations: 1.219 kB / 0.5775 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5646, allocations: 7.875 kB / 0.5775 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.5647, allocations: 3.156 kB / 0.5775 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.5647, allocations: 0 / 0.5775 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.5647, allocations: 6.922 kB / 0.5775 GB, free: 39.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.5647, allocations: 9 kB / 0.5775 GB, free: 39.43 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 4.176e-05/0.5647, allocations: 106.9 kB / 0.5776 GB, free: 39.31 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-06/0.5648, allocations: 1.094 kB / 0.5776 GB, free: 39.31 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.5648, allocations: 52.08 kB / 0.5777 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5649, allocations: 5.031 kB / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5649, allocations: 0 / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5649, allocations: 0 / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.866e-05/0.5649, allocations: 152.3 kB / 0.5778 GB, free: 39.06 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5649, allocations: 0 / 0.5778 GB, free: 39.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.565, allocations: 6.719 kB / 0.5778 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.565, allocations: 1.156 kB / 0.5778 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.565, allocations: 7.922 kB / 0.5778 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.565, allocations: 1.062 kB / 0.5778 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.565, allocations: 4 kB / 0.5779 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.704e-05/0.565, allocations: 58.55 kB / 0.5779 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.5651, allocations: 81.14 kB / 0.578 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.5651, allocations: 9.266 kB / 0.578 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.5651, allocations: 0 / 0.578 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.5651, allocations: 0.9688 kB / 0.578 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.5651, allocations: 1.5 kB / 0.578 GB, free: 38.87 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.574e-05/0.5651, allocations: 75.28 kB / 0.5781 GB, free: 38.8 MB / 462.3 MB Notification: Performance of sort global known variables: time 8e-08/0.5652, allocations: 0 / 0.5781 GB, free: 38.8 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000214/0.5654, allocations: 2.688 kB / 0.5781 GB, free: 38.8 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 9.065e-05/0.5655, allocations: 106.4 kB / 0.5782 GB, free: 38.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.414e-05/0.5655, allocations: 13.55 kB / 0.5782 GB, free: 38.69 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5655, allocations: 1.281 kB / 0.5782 GB, free: 38.69 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.979e-06/0.5656, allocations: 2.906 kB / 0.5782 GB, free: 38.69 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.5657, allocations: 2.219 kB / 0.5782 GB, free: 38.69 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.5659, allocations: 86.08 kB / 0.5783 GB, free: 38.58 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.566, allocations: 0.6786 MB / 0.5789 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.566, allocations: 5.25 kB / 0.5789 GB, free: 37.87 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.155e-05/0.566, allocations: 8.438 kB / 0.5789 GB, free: 37.86 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.566, allocations: 1.031 kB / 0.579 GB, free: 37.86 MB / 462.3 MB Notification: Performance of Templates: time 0.001958/0.568, allocations: 273.7 kB / 0.5792 GB, free: 37.71 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 -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/jenkins/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