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.001022/0.001022, allocations: 113.2 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.0009981/0.0009982, allocations: 191 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.232/1.232, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8276/0.8276, allocations: 119.3 MB / 411.8 MB, free: 9.559 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 55.91 kB / 0.4924 GB, free: 13.08 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4173, allocations: 80.7 MB / 0.5712 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001319/0.4187, allocations: 392.4 kB / 0.5715 GB, free: 43.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.4189, allocations: 34.56 kB / 0.5716 GB, free: 43.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.4189, allocations: 1.406 kB / 0.5716 GB, free: 43.23 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.4189, allocations: 0 / 0.5716 GB, free: 43.23 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.419, allocations: 0 / 0.5716 GB, free: 43.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.4191, allocations: 14.36 kB / 0.5716 GB, free: 43.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.44e-05/0.4191, allocations: 6.5 kB / 0.5716 GB, free: 43.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.4192, allocations: 1.281 kB / 0.5716 GB, free: 43.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.4192, allocations: 1.312 kB / 0.5716 GB, free: 43.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.4192, allocations: 5.031 kB / 0.5716 GB, free: 43.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.4192, allocations: 0 / 0.5716 GB, free: 43.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.4193, allocations: 10.05 kB / 0.5716 GB, free: 43.2 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.4193, allocations: 0 / 0.5716 GB, free: 43.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.4193, allocations: 5.25 kB / 0.5716 GB, free: 43.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.72e-05/0.4194, allocations: 11.72 kB / 0.5716 GB, free: 43.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4194, allocations: 0 / 0.5716 GB, free: 43.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4194, allocations: 5.375 kB / 0.5716 GB, free: 43.19 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.4194, allocations: 0 / 0.5716 GB, free: 43.19 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.0001718/0.4196, allocations: 311.2 kB / 0.5719 GB, free: 42.84 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.4196, allocations: 9.281 kB / 0.5719 GB, free: 42.84 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.4197, allocations: 6.156 kB / 0.5719 GB, free: 42.83 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.207e-05/0.4197, allocations: 168.4 kB / 0.5721 GB, free: 42.63 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.4197, allocations: 1.656 kB / 0.5721 GB, free: 42.63 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-06/0.4197, allocations: 4.312 kB / 0.5721 GB, free: 42.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.598e-05/0.4198, allocations: 37.7 kB / 0.5721 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4198, allocations: 192 / 0.5721 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.4198, allocations: 5.281 kB / 0.5722 GB, free: 42.58 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4198, allocations: 0 / 0.5722 GB, free: 42.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.4199, allocations: 2.688 kB / 0.5722 GB, free: 42.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.092e-05/0.4199, allocations: 152.3 kB / 0.5723 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.42, allocations: 20.11 kB / 0.5723 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.42, allocations: 14.05 kB / 0.5723 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.4202, allocations: 95.23 kB / 0.5724 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.4202, allocations: 31.53 kB / 0.5725 GB, free: 42.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4202, allocations: 3.938 kB / 0.5725 GB, free: 42.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001008/0.4203, allocations: 46.75 kB / 0.5725 GB, free: 42.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/0.4203, allocations: 51.41 kB / 0.5725 GB, free: 42.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.335e-05/0.4204, allocations: 91.05 kB / 0.5726 GB, free: 42 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.4204, allocations: 25.7 kB / 0.5727 GB, free: 41.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-06/0.4204, allocations: 84.27 kB / 0.5727 GB, free: 41.88 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4204, allocations: 5.188 kB / 0.5727 GB, free: 41.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.4204, allocations: 12.38 kB / 0.5728 GB, free: 41.86 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.4205, allocations: 316.4 kB / 0.5731 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.4205, allocations: 5.406 kB / 0.5731 GB, free: 41.54 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.4205, allocations: 5.203 kB / 0.5731 GB, free: 41.54 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.4205, allocations: 10.89 kB / 0.5731 GB, free: 41.53 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4205, allocations: 4.062 kB / 0.5731 GB, free: 41.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.417e-05/0.4206, allocations: 36.95 kB / 0.5731 GB, free: 41.49 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4206, allocations: 5.125 kB / 0.5731 GB, free: 41.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.4206, allocations: 0 / 0.5731 GB, free: 41.49 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.4206, allocations: 5.062 kB / 0.5731 GB, free: 41.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.4207, allocations: 3.25 kB / 0.5731 GB, free: 41.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.4207, allocations: 3.984 kB / 0.5731 GB, free: 41.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.4207, allocations: 1.094 kB / 0.5731 GB, free: 41.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.4207, allocations: 0 / 0.5731 GB, free: 41.48 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.318e-05/0.4207, allocations: 119.7 kB / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.4207, allocations: 5.156 kB / 0.5733 GB, free: 41.35 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.4208, allocations: 47.14 kB / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4208, allocations: 1.312 kB / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4208, allocations: 0 / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4208, allocations: 3.938 kB / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.206e-05/0.4209, allocations: 148.4 kB / 0.5734 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4209, allocations: 0 / 0.5734 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.4209, allocations: 2.688 kB / 0.5735 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4209, allocations: 9.422 kB / 0.5735 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.4209, allocations: 3.938 kB / 0.5735 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4209, allocations: 1.312 kB / 0.5735 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4209, allocations: 4 kB / 0.5735 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.034e-05/0.421, allocations: 62.39 kB / 0.5735 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.421, allocations: 81.09 kB / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.421, allocations: 5.656 kB / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.4211, allocations: 4.031 kB / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.4211, allocations: 1.812 kB / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.4211, allocations: 0 / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.867e-06/0.4211, allocations: 75.28 kB / 0.5737 GB, free: 40.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4211, allocations: 0 / 0.5737 GB, free: 40.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001771/0.4213, allocations: 11.25 kB / 0.5737 GB, free: 40.84 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 7.51e-05/0.4213, allocations: 94.84 kB / 0.5738 GB, free: 40.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.036e-05/0.4214, allocations: 14.42 kB / 0.5738 GB, free: 40.74 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4214, allocations: 4.062 kB / 0.5738 GB, free: 40.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.839e-06/0.4214, allocations: 3.594 kB / 0.5738 GB, free: 40.73 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.4216, allocations: 3.188 kB / 0.5738 GB, free: 40.73 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000134/0.4217, allocations: 94.11 kB / 0.5739 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.104e-05/0.4218, allocations: 0.6742 MB / 0.5746 GB, free: 39.93 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.4218, allocations: 1.281 kB / 0.5746 GB, free: 39.93 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.01e-05/0.4218, allocations: 12.69 kB / 0.5746 GB, free: 39.91 MB / 462.3 MB Notification: Performance of SimCode: time 1.91e-07/0.4218, allocations: 0 / 0.5746 GB, free: 39.91 MB / 462.3 MB Notification: Performance of Templates: time 0.001768/0.4236, allocations: 286.6 kB / 0.5748 GB, free: 39.76 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 gbode -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