Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",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.001513/0.001513, allocations: 107.4 kB / 16.92 MB, free: 5.773 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.001759/0.001759, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.27/2.27, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.522/1.522, allocations: 119.3 MB / 411 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 63.91 kB / 0.491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8452, allocations: 80.68 MB / 0.5698 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.002222/0.8475, allocations: 411.7 kB / 0.5702 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005994/0.8481, allocations: 163 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.8482, allocations: 0 / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.8482, allocations: 1.125 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.8483, allocations: 4 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.8485, allocations: 15.19 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.8486, allocations: 2.5 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.42e-05/0.8487, allocations: 1.5 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.8487, allocations: 1.156 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.8488, allocations: 5.062 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.8488, allocations: 0 / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.8489, allocations: 10.58 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.849, allocations: 1.094 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.849, allocations: 3.938 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.8491, allocations: 24.38 kB / 0.5704 GB, free: 42.89 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8491, allocations: 0.9062 kB / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8492, allocations: 0 / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.8492, allocations: 0 / 0.5705 GB, free: 42.89 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.0002951/0.8495, allocations: 312.6 kB / 0.5707 GB, free: 42.54 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8495, allocations: 12.42 kB / 0.5708 GB, free: 42.53 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.8496, allocations: 32 kB / 0.5708 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.8496, allocations: 4.938 kB / 0.5708 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.68e-05/0.8497, allocations: 161.6 kB / 0.5709 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8498, allocations: 8.312 kB / 0.571 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.8498, allocations: 1.656 kB / 0.571 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.8499, allocations: 28.77 kB / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.85, allocations: 5.219 kB / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.85, allocations: 3.984 kB / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.85, allocations: 0 / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.8501, allocations: 7.328 kB / 0.571 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.8502, allocations: 147.9 kB / 0.5711 GB, free: 42.05 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.503e-05/0.8503, allocations: 27.08 kB / 0.5712 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.8503, allocations: 16.44 kB / 0.5712 GB, free: 42 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.8506, allocations: 85.64 kB / 0.5713 GB, free: 41.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.8507, allocations: 31.91 kB / 0.5713 GB, free: 41.87 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/0.8507, allocations: 0 / 0.5713 GB, free: 41.87 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001831/0.8509, allocations: 45.78 kB / 0.5713 GB, free: 41.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.8509, allocations: 56.56 kB / 0.5714 GB, free: 41.76 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.854e-05/0.851, allocations: 89.86 kB / 0.5715 GB, free: 41.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.851, allocations: 26.86 kB / 0.5715 GB, free: 41.63 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.173e-05/0.851, allocations: 84.08 kB / 0.5716 GB, free: 41.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.8511, allocations: 7.281 kB / 0.5716 GB, free: 41.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.8511, allocations: 16 kB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.8512, allocations: 320.1 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.8512, allocations: 1.25 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.8512, allocations: 6.031 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.8513, allocations: 13.45 kB / 0.5719 GB, free: 41.18 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8513, allocations: 0 / 0.5719 GB, free: 41.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/0.8514, allocations: 34.11 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8515, allocations: 5.312 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8515, allocations: 3.938 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.8515, allocations: 5.047 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.8516, allocations: 3.469 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8516, allocations: 3.938 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.8517, allocations: 4.094 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.8517, allocations: 1.219 kB / 0.572 GB, free: 41.14 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 6.14e-05/0.8517, allocations: 111.1 kB / 0.5721 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.8518, allocations: 1.094 kB / 0.5721 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.8519, allocations: 47.72 kB / 0.5721 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.852, allocations: 1.25 kB / 0.5721 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.852, allocations: 0 / 0.5721 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.852, allocations: 4.031 kB / 0.5721 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.8521, allocations: 148.4 kB / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8521, allocations: 4 kB / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.8522, allocations: 3.625 kB / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8522, allocations: 0 / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.8522, allocations: 5.156 kB / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8522, allocations: 0 / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.8522, allocations: 3.938 kB / 0.5723 GB, free: 40.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.778e-05/0.8524, allocations: 74.03 kB / 0.5724 GB, free: 40.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.8524, allocations: 78.64 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.8524, allocations: 3.938 kB / 0.5725 GB, free: 40.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.8525, allocations: 0 / 0.5725 GB, free: 40.58 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.8525, allocations: 1.562 kB / 0.5725 GB, free: 40.58 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.8525, allocations: 1.594 kB / 0.5725 GB, free: 40.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.321e-05/0.8525, allocations: 79.28 kB / 0.5725 GB, free: 40.5 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8526, allocations: 0 / 0.5725 GB, free: 40.5 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003819/0.853, allocations: 3.031 kB / 0.5725 GB, free: 40.5 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.0003973/0.8534, allocations: 0.6055 MB / 0.5731 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.8535, allocations: 9.203 kB / 0.5731 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8535, allocations: 5.469 kB / 0.5731 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-05/0.8536, allocations: 7.875 kB / 0.5732 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.8538, allocations: 160 / 0.5732 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.8544, allocations: 125.5 kB / 0.5733 GB, free: 39.73 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.8545, allocations: 0.6703 MB / 0.5739 GB, free: 39.03 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 4.27e-05/0.8546, allocations: 1.406 kB / 0.5739 GB, free: 39.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8546, allocations: 8.719 kB / 0.5739 GB, free: 39.02 MB / 462.3 MB Notification: Performance of SimCode: time 5.21e-07/0.8546, allocations: 0 / 0.5739 GB, free: 39.02 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/0.9881, allocations: 1.038 MB / 0.5749 GB, free: 38.44 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.92/18.91, allocations: 8.047 kB / 0.575 GB, free: 38.43 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.00004e-05 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches