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.001001/0.001001, allocations: 109.5 kB / 16.51 MB, free: 6.707 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.000993/0.000993, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.207/1.207, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7964/0.7964, allocations: 119.3 MB / 410.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 55.91 kB / 0.4902 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4205, allocations: 80.69 MB / 0.569 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001549/0.4221, allocations: 462.8 kB / 0.5695 GB, free: 43.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.4224, allocations: 35.56 kB / 0.5695 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.4224, allocations: 0 / 0.5695 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.4225, allocations: 0 / 0.5695 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.4225, allocations: 1.188 kB / 0.5695 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.4226, allocations: 2.25 kB / 0.5695 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.575e-05/0.4227, allocations: 6.297 kB / 0.5695 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.4227, allocations: 9 kB / 0.5695 GB, free: 43.17 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.4228, allocations: 1.125 kB / 0.5695 GB, free: 43.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.579e-05/0.4228, allocations: 9.047 kB / 0.5695 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.4228, allocations: 3.938 kB / 0.5695 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.4229, allocations: 5.688 kB / 0.5695 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.4229, allocations: 0 / 0.5695 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.4229, allocations: 1.531 kB / 0.5696 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.247e-05/0.423, allocations: 11.61 kB / 0.5696 GB, free: 43.15 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.423, allocations: 1.188 kB / 0.5696 GB, free: 43.15 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.21e-07/0.423, allocations: 0 / 0.5696 GB, free: 43.15 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.423, allocations: 0 / 0.5696 GB, free: 43.15 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.0001901/0.4232, allocations: 319.4 kB / 0.5699 GB, free: 42.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.4232, allocations: 9.219 kB / 0.5699 GB, free: 42.79 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.4232, allocations: 2.094 kB / 0.5699 GB, free: 42.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.607e-05/0.4233, allocations: 164.4 kB / 0.57 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.4233, allocations: 1.781 kB / 0.57 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.4233, allocations: 1.656 kB / 0.57 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.732e-05/0.4234, allocations: 32.83 kB / 0.5701 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.4234, allocations: 192 / 0.5701 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.4234, allocations: 7.938 kB / 0.5701 GB, free: 42.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4234, allocations: 5.516 kB / 0.5701 GB, free: 42.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.4235, allocations: 10.53 kB / 0.5701 GB, free: 42.54 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.124e-05/0.4236, allocations: 148.2 kB / 0.5702 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.613e-05/0.4236, allocations: 19.77 kB / 0.5703 GB, free: 42.32 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.4236, allocations: 11.06 kB / 0.5703 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.4238, allocations: 90.5 kB / 0.5703 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.4238, allocations: 39.7 kB / 0.5704 GB, free: 42.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.4239, allocations: 0 / 0.5704 GB, free: 42.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001057/0.424, allocations: 42.27 kB / 0.5704 GB, free: 42.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.424, allocations: 52.5 kB / 0.5705 GB, free: 42.06 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.347e-05/0.424, allocations: 93.86 kB / 0.5706 GB, free: 41.96 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.424, allocations: 29.64 kB / 0.5706 GB, free: 41.93 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-06/0.424, allocations: 81.23 kB / 0.5707 GB, free: 41.84 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.4241, allocations: 5.156 kB / 0.5707 GB, free: 41.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.4241, allocations: 19.86 kB / 0.5707 GB, free: 41.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.4241, allocations: 312 kB / 0.571 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.4241, allocations: 5.094 kB / 0.571 GB, free: 41.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.4242, allocations: 2.188 kB / 0.571 GB, free: 41.5 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.4242, allocations: 10.2 kB / 0.571 GB, free: 41.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4242, allocations: 0 / 0.571 GB, free: 41.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.775e-05/0.4242, allocations: 45.16 kB / 0.5711 GB, free: 41.45 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.4243, allocations: 9.5 kB / 0.5711 GB, free: 41.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.4243, allocations: 0 / 0.5711 GB, free: 41.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.4243, allocations: 5 kB / 0.5711 GB, free: 41.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.4243, allocations: 6.219 kB / 0.5711 GB, free: 41.44 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4243, allocations: 5.484 kB / 0.5711 GB, free: 41.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.4244, allocations: 1.969 kB / 0.5711 GB, free: 41.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.4244, allocations: 1.375 kB / 0.5711 GB, free: 41.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 3.463e-05/0.4244, allocations: 107 kB / 0.5712 GB, free: 41.32 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.4244, allocations: 0 / 0.5712 GB, free: 41.32 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.348e-05/0.4245, allocations: 56.38 kB / 0.5712 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.4245, allocations: 1.062 kB / 0.5712 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.4245, allocations: 0 / 0.5712 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.4245, allocations: 1.219 kB / 0.5712 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.586e-05/0.4246, allocations: 151 kB / 0.5714 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4246, allocations: 1 kB / 0.5714 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.4246, allocations: 2.938 kB / 0.5714 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4246, allocations: 3.938 kB / 0.5714 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.4246, allocations: 5.188 kB / 0.5714 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4246, allocations: 4.031 kB / 0.5714 GB, free: 41.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4246, allocations: 0 / 0.5714 GB, free: 41.05 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.858e-05/0.4247, allocations: 63.12 kB / 0.5715 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.4247, allocations: 77.11 kB / 0.5715 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.4247, allocations: 9.062 kB / 0.5715 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.4247, allocations: 0 / 0.5715 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.4247, allocations: 1.188 kB / 0.5715 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.4248, allocations: 5.312 kB / 0.5715 GB, free: 40.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.033e-05/0.4248, allocations: 75.28 kB / 0.5716 GB, free: 40.8 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4248, allocations: 0 / 0.5716 GB, free: 40.8 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001798/0.425, allocations: 2.406 kB / 0.5716 GB, free: 40.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 7.957e-05/0.425, allocations: 106.3 kB / 0.5717 GB, free: 40.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.4251, allocations: 7.188 kB / 0.5717 GB, free: 40.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.4251, allocations: 0 / 0.5717 GB, free: 40.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.428e-06/0.4251, allocations: 7.75 kB / 0.5717 GB, free: 40.7 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.4253, allocations: 5.344 kB / 0.5717 GB, free: 40.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001455/0.4254, allocations: 94.28 kB / 0.5718 GB, free: 40.58 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.274e-05/0.4255, allocations: 0.672 MB / 0.5725 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.094e-05/0.4255, allocations: 5.75 kB / 0.5725 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-06/0.4255, allocations: 7.438 kB / 0.5725 GB, free: 39.88 MB / 462.3 MB Notification: Performance of SimCode: time 2.9e-07/0.4255, allocations: 0 / 0.5725 GB, free: 39.88 MB / 462.3 MB Notification: Performance of Templates: time 0.001764/0.4273, allocations: 288 kB / 0.5728 GB, free: 39.71 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches