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.00161/0.00161, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.002136/0.002136, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.444/2.444, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.496/1.496, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 63.89 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.768, allocations: 80.69 MB / 0.5698 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.00212/0.7702, allocations: 389.2 kB / 0.5702 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002345/0.7705, allocations: 34.53 kB / 0.5702 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.7705, allocations: 0 / 0.5702 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.7706, allocations: 0 / 0.5702 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.7706, allocations: 1.094 kB / 0.5703 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.7708, allocations: 10.81 kB / 0.5703 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.7709, allocations: 6.359 kB / 0.5703 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.771, allocations: 5.234 kB / 0.5703 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.771, allocations: 1.062 kB / 0.5703 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.7711, allocations: 1.094 kB / 0.5703 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.7711, allocations: 0 / 0.5703 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.7712, allocations: 17.38 kB / 0.5703 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.7712, allocations: 0 / 0.5703 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.7713, allocations: 5.078 kB / 0.5703 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.46e-05/0.7713, allocations: 4.281 kB / 0.5703 GB, free: 42.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7714, allocations: 3.938 kB / 0.5703 GB, free: 42.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7714, allocations: 1.094 kB / 0.5703 GB, free: 42.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.7714, allocations: 0 / 0.5703 GB, free: 42.96 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.0002485/0.7717, allocations: 320 kB / 0.5706 GB, free: 42.6 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7717, allocations: 12.64 kB / 0.5706 GB, free: 42.6 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.7718, allocations: 31.81 kB / 0.5707 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.7718, allocations: 5.969 kB / 0.5707 GB, free: 42.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.64e-05/0.7719, allocations: 164.4 kB / 0.5708 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.7719, allocations: 1.5 kB / 0.5708 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.7719, allocations: 4.312 kB / 0.5708 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.7721, allocations: 37.47 kB / 0.5709 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.7721, allocations: 4.969 kB / 0.5709 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.7721, allocations: 0 / 0.5709 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.7721, allocations: 0 / 0.5709 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.7722, allocations: 7.094 kB / 0.5709 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.7723, allocations: 151.9 kB / 0.571 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.7724, allocations: 24.05 kB / 0.571 GB, free: 42.08 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.7725, allocations: 10.95 kB / 0.571 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.7727, allocations: 87.47 kB / 0.5711 GB, free: 41.97 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.7728, allocations: 31.69 kB / 0.5712 GB, free: 41.93 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.7728, allocations: 0 / 0.5712 GB, free: 41.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.773, allocations: 46.55 kB / 0.5712 GB, free: 41.89 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.773, allocations: 51.41 kB / 0.5713 GB, free: 41.83 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.72e-05/0.773, allocations: 93.84 kB / 0.5713 GB, free: 41.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.7731, allocations: 26.67 kB / 0.5714 GB, free: 41.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.066e-05/0.7731, allocations: 80.14 kB / 0.5714 GB, free: 41.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.7731, allocations: 11.09 kB / 0.5715 GB, free: 41.61 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.7732, allocations: 13.22 kB / 0.5715 GB, free: 41.59 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.7733, allocations: 311 kB / 0.5718 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.7733, allocations: 10.53 kB / 0.5718 GB, free: 41.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.7733, allocations: 1.438 kB / 0.5718 GB, free: 41.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.7734, allocations: 13.52 kB / 0.5718 GB, free: 41.26 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7734, allocations: 0 / 0.5718 GB, free: 41.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.809e-05/0.7735, allocations: 42.31 kB / 0.5718 GB, free: 41.22 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7736, allocations: 7.406 kB / 0.5718 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7736, allocations: 3.938 kB / 0.5718 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7736, allocations: 1.156 kB / 0.5718 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.7737, allocations: 7.375 kB / 0.5718 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7737, allocations: 0 / 0.5718 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.7737, allocations: 1.188 kB / 0.5718 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.7738, allocations: 3.938 kB / 0.5719 GB, free: 41.21 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 5.556e-05/0.7738, allocations: 111 kB / 0.572 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.7739, allocations: 5.156 kB / 0.572 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.774, allocations: 43.86 kB / 0.572 GB, free: 41.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.774, allocations: 9.109 kB / 0.572 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.774, allocations: 0 / 0.572 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.774, allocations: 1.25 kB / 0.572 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.14e-05/0.7741, allocations: 147.1 kB / 0.5722 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.7741, allocations: 4 kB / 0.5722 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.7742, allocations: 7.375 kB / 0.5722 GB, free: 40.83 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7742, allocations: 4.938 kB / 0.5722 GB, free: 40.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7742, allocations: 3.938 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7742, allocations: 1.125 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7742, allocations: 0 / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.549e-05/0.7744, allocations: 70.38 kB / 0.5722 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.7744, allocations: 81.02 kB / 0.5723 GB, free: 40.65 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.7744, allocations: 4.875 kB / 0.5723 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.7745, allocations: 0 / 0.5723 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.7745, allocations: 5.109 kB / 0.5723 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.7745, allocations: 1.094 kB / 0.5723 GB, free: 40.64 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.446e-05/0.7745, allocations: 75.28 kB / 0.5724 GB, free: 40.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7745, allocations: 1.188 kB / 0.5724 GB, free: 40.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003671/0.7749, allocations: 6.562 kB / 0.5724 GB, free: 40.56 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.0003/0.7752, allocations: 0.605 MB / 0.573 GB, free: 39.95 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.7754, allocations: 10.91 kB / 0.573 GB, free: 39.95 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7754, allocations: 0 / 0.573 GB, free: 39.95 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.7754, allocations: 7.812 kB / 0.573 GB, free: 39.94 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.7756, allocations: 1.156 kB / 0.573 GB, free: 39.94 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.7761, allocations: 121 kB / 0.5731 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.003e-05/0.7762, allocations: 0.6743 MB / 0.5738 GB, free: 39.09 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 4.07e-05/0.7762, allocations: 1.594 kB / 0.5738 GB, free: 39.09 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.7763, allocations: 12.8 kB / 0.5738 GB, free: 39.08 MB / 462.3 MB Notification: Performance of SimCode: time 5.61e-07/0.7763, allocations: 4.062 kB / 0.5738 GB, free: 39.08 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/0.9093, allocations: 1.008 MB / 0.5748 GB, free: 38.52 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.08/17.99, allocations: 4.641 kB / 0.5748 GB, free: 38.52 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches