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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 109.7 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.001215/0.001215, 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.223/1.223, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7134/0.7134, allocations: 119.3 MB / 410.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 59.91 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3718, allocations: 80.69 MB / 0.5692 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001243/0.3731, allocations: 466.3 kB / 0.5696 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.3733, allocations: 35.56 kB / 0.5696 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.3733, allocations: 0 / 0.5696 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.3733, allocations: 0 / 0.5696 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.3734, allocations: 0 / 0.5696 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.296e-05/0.3735, allocations: 6.312 kB / 0.5696 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 2.818e-05/0.3735, allocations: 6.844 kB / 0.5696 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.3735, allocations: 1 kB / 0.5696 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.3736, allocations: 1.125 kB / 0.5696 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.453e-05/0.3736, allocations: 9.141 kB / 0.5697 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.3736, allocations: 0 / 0.5697 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.3737, allocations: 9.562 kB / 0.5697 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.3737, allocations: 0 / 0.5697 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.3737, allocations: 1.125 kB / 0.5697 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.662e-05/0.3738, allocations: 12.34 kB / 0.5697 GB, free: 43.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3738, allocations: 4 kB / 0.5697 GB, free: 43.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.92e-07/0.3738, allocations: 1.219 kB / 0.5697 GB, free: 43.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.3738, allocations: 4 kB / 0.5697 GB, free: 43.11 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.0001642/0.3739, allocations: 314.9 kB / 0.57 GB, free: 42.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.374, allocations: 9.906 kB / 0.57 GB, free: 42.76 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.074e-05/0.374, allocations: 31.59 kB / 0.57 GB, free: 42.72 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.374, allocations: 0.9375 kB / 0.57 GB, free: 42.72 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.711e-05/0.3741, allocations: 161.7 kB / 0.5702 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.3741, allocations: 384 / 0.5702 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.3741, allocations: 1.5 kB / 0.5702 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.597e-05/0.3742, allocations: 45.47 kB / 0.5702 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-06/0.3742, allocations: 7.875 kB / 0.5702 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.3742, allocations: 0 / 0.5702 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.3742, allocations: 1.25 kB / 0.5702 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.3742, allocations: 3.188 kB / 0.5702 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.723e-05/0.3743, allocations: 146.9 kB / 0.5704 GB, free: 42.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.352e-05/0.3743, allocations: 24.41 kB / 0.5704 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.3744, allocations: 10.98 kB / 0.5704 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.3745, allocations: 91.62 kB / 0.5705 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.3746, allocations: 34.56 kB / 0.5705 GB, free: 42.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3746, allocations: 1.062 kB / 0.5705 GB, free: 42.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 9.822e-05/0.3747, allocations: 41.27 kB / 0.5706 GB, free: 42.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.3747, allocations: 52.5 kB / 0.5706 GB, free: 41.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.138e-05/0.3747, allocations: 93.86 kB / 0.5707 GB, free: 41.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.3747, allocations: 26.92 kB / 0.5707 GB, free: 41.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-06/0.3747, allocations: 84.14 kB / 0.5708 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3748, allocations: 11.3 kB / 0.5708 GB, free: 41.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.3748, allocations: 11.88 kB / 0.5708 GB, free: 41.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.099e-05/0.3748, allocations: 312 kB / 0.5711 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.3748, allocations: 5.031 kB / 0.5711 GB, free: 41.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.3748, allocations: 6.219 kB / 0.5711 GB, free: 41.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.3749, allocations: 9.359 kB / 0.5712 GB, free: 41.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3749, allocations: 5.125 kB / 0.5712 GB, free: 41.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.62e-05/0.3749, allocations: 42.03 kB / 0.5712 GB, free: 41.38 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.3749, allocations: 4.844 kB / 0.5712 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.375, allocations: 3.938 kB / 0.5712 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.375, allocations: 1.156 kB / 0.5712 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.079e-05/0.375, allocations: 6.656 kB / 0.5712 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.375, allocations: 0 / 0.5712 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.375, allocations: 1.344 kB / 0.5712 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.375, allocations: 0 / 0.5712 GB, free: 41.37 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.3751, allocations: 115.2 kB / 0.5713 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.3751, allocations: 1.031 kB / 0.5713 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.3752, allocations: 48.75 kB / 0.5714 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3752, allocations: 0 / 0.5714 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3752, allocations: 1.344 kB / 0.5714 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3752, allocations: 0 / 0.5714 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.153e-05/0.3752, allocations: 155 kB / 0.5715 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3752, allocations: 1.219 kB / 0.5715 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.3753, allocations: 6.844 kB / 0.5715 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3753, allocations: 0 / 0.5715 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3753, allocations: 9.297 kB / 0.5715 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3753, allocations: 0 / 0.5715 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3753, allocations: 0 / 0.5715 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.689e-05/0.3753, allocations: 65.84 kB / 0.5716 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.3754, allocations: 82.08 kB / 0.5717 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.3754, allocations: 4.969 kB / 0.5717 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.3754, allocations: 4.031 kB / 0.5717 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-06/0.3754, allocations: 1.125 kB / 0.5717 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3754, allocations: 1.094 kB / 0.5717 GB, free: 40.81 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.316e-06/0.3754, allocations: 75.28 kB / 0.5718 GB, free: 40.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.3754, allocations: 0 / 0.5718 GB, free: 40.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001894/0.3756, allocations: 7.266 kB / 0.5718 GB, free: 40.73 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 0.0001857/0.3758, allocations: 0.6122 MB / 0.5724 GB, free: 40.11 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.263e-05/0.3759, allocations: 6.344 kB / 0.5724 GB, free: 40.11 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.3759, allocations: 0 / 0.5724 GB, free: 40.11 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.097e-06/0.3759, allocations: 4.438 kB / 0.5724 GB, free: 40.11 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.376, allocations: 3.125 kB / 0.5724 GB, free: 40.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.3762, allocations: 118.1 kB / 0.5725 GB, free: 39.96 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.31e-05/0.3763, allocations: 0.6748 MB / 0.5732 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.3763, allocations: 5.547 kB / 0.5732 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/0.3764, allocations: 15.47 kB / 0.5732 GB, free: 39.25 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.3764, allocations: 0 / 0.5732 GB, free: 39.25 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2464/0.6227, allocations: 0.9167 MB / 0.5741 GB, free: 38.79 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/0.6229, allocations: 216.7 kB / 0.5743 GB, free: 38.54 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.179, allocations: 0 / 0.5743 GB, free: 38.54 MB / 462.3 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/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