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.001255/0.001255, allocations: 101.9 kB / 17.59 MB, free: 5.441 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.001217/0.001217, allocations: 187.3 kB / 18.51 MB, free: 4.531 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.25/1.25, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8264/0.8264, allocations: 119.3 MB / 411.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.14 kB / 0.4916 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4519, allocations: 80.7 MB / 0.5704 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.00138/0.4533, allocations: 390.7 kB / 0.5708 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.4535, allocations: 26.64 kB / 0.5708 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.4535, allocations: 0 / 0.5708 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.4535, allocations: 0 / 0.5708 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.252e-05/0.4536, allocations: 9.422 kB / 0.5708 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.4537, allocations: 14.66 kB / 0.5708 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.4538, allocations: 1.219 kB / 0.5708 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.4538, allocations: 1.375 kB / 0.5708 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.4538, allocations: 1.375 kB / 0.5708 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.666e-05/0.4539, allocations: 5.359 kB / 0.5708 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.4539, allocations: 0 / 0.5708 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.454, allocations: 13.44 kB / 0.5708 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.759e-06/0.454, allocations: 3.984 kB / 0.5708 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.454, allocations: 1.375 kB / 0.5708 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.864e-05/0.4541, allocations: 8.109 kB / 0.5709 GB, free: 43.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4541, allocations: 0 / 0.5709 GB, free: 43.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4541, allocations: 5.375 kB / 0.5709 GB, free: 43.06 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.4541, allocations: 0 / 0.5709 GB, free: 43.06 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.0002131/0.4543, allocations: 319.7 kB / 0.5712 GB, free: 42.7 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4543, allocations: 9.625 kB / 0.5712 GB, free: 42.7 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.4544, allocations: 4.938 kB / 0.5712 GB, free: 42.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.235e-05/0.4544, allocations: 160.4 kB / 0.5713 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4545, allocations: 1.75 kB / 0.5713 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.4545, allocations: 1.75 kB / 0.5713 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.4546, allocations: 36.95 kB / 0.5714 GB, free: 42.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4546, allocations: 192 / 0.5714 GB, free: 42.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4546, allocations: 3.938 kB / 0.5714 GB, free: 42.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4546, allocations: 5.359 kB / 0.5714 GB, free: 42.46 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.4546, allocations: 6.75 kB / 0.5714 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.588e-05/0.4547, allocations: 147 kB / 0.5715 GB, free: 42.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.4548, allocations: 24.08 kB / 0.5715 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.4548, allocations: 11.59 kB / 0.5716 GB, free: 42.22 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.455, allocations: 90.55 kB / 0.5716 GB, free: 42.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.455, allocations: 35.92 kB / 0.5717 GB, free: 42.08 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.455, allocations: 0 / 0.5717 GB, free: 42.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001221/0.4552, allocations: 41.89 kB / 0.5717 GB, free: 42.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.4552, allocations: 52.78 kB / 0.5718 GB, free: 41.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.315e-05/0.4552, allocations: 89.86 kB / 0.5719 GB, free: 41.88 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-06/0.4552, allocations: 25.7 kB / 0.5719 GB, free: 41.85 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.4552, allocations: 85.64 kB / 0.572 GB, free: 41.76 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4553, allocations: 3.906 kB / 0.572 GB, free: 41.76 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.4553, allocations: 20.45 kB / 0.572 GB, free: 41.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.4553, allocations: 312.2 kB / 0.5723 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.4553, allocations: 1.375 kB / 0.5723 GB, free: 41.42 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.4554, allocations: 6.688 kB / 0.5723 GB, free: 41.42 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.4554, allocations: 12.98 kB / 0.5723 GB, free: 41.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4554, allocations: 8 kB / 0.5723 GB, free: 41.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.591e-05/0.4554, allocations: 37.94 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.4555, allocations: 5.5 kB / 0.5724 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4555, allocations: 0 / 0.5724 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4555, allocations: 3.938 kB / 0.5724 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/0.4555, allocations: 4.125 kB / 0.5724 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4555, allocations: 0 / 0.5724 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.4556, allocations: 1.969 kB / 0.5724 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.4556, allocations: 1.375 kB / 0.5724 GB, free: 41.36 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 3.918e-05/0.4556, allocations: 119.2 kB / 0.5725 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.4556, allocations: 5.359 kB / 0.5725 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.4557, allocations: 47.62 kB / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.4557, allocations: 0 / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4557, allocations: 1.375 kB / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4557, allocations: 0 / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.015e-05/0.4558, allocations: 148.4 kB / 0.5727 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4558, allocations: 0 / 0.5727 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.4558, allocations: 2.75 kB / 0.5727 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4558, allocations: 4.031 kB / 0.5727 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.4558, allocations: 9.25 kB / 0.5727 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4558, allocations: 0 / 0.5727 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4558, allocations: 4 kB / 0.5727 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.095e-05/0.4559, allocations: 65.81 kB / 0.5728 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.4559, allocations: 78.3 kB / 0.5728 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.4559, allocations: 5.094 kB / 0.5728 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.4559, allocations: 8.031 kB / 0.5728 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-06/0.456, allocations: 1.031 kB / 0.5728 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.456, allocations: 1.031 kB / 0.5728 GB, free: 40.79 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.01e-05/0.456, allocations: 75.28 kB / 0.5729 GB, free: 40.72 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.456, allocations: 0 / 0.5729 GB, free: 40.72 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001895/0.4562, allocations: 3.312 kB / 0.5729 GB, free: 40.72 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 8.814e-05/0.4563, allocations: 102.3 kB / 0.573 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.4563, allocations: 10.25 kB / 0.573 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4564, allocations: 5.094 kB / 0.573 GB, free: 40.61 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.4564, allocations: 7.375 kB / 0.573 GB, free: 40.61 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.4565, allocations: 1.25 kB / 0.573 GB, free: 40.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001598/0.4567, allocations: 127 kB / 0.5732 GB, free: 40.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.4568, allocations: 0.6713 MB / 0.5738 GB, free: 39.77 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.4568, allocations: 8.25 kB / 0.5738 GB, free: 39.76 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4568, allocations: 1.062 kB / 0.5738 GB, free: 39.76 MB / 462.3 MB Notification: Performance of Templates: time 0.001582/0.4584, allocations: 444 kB / 0.5742 GB, free: 39.54 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/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