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.001507/0.001507, allocations: 112 kB / 17.06 MB, free: 5.992 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.001537/0.001537, allocations: 193.4 kB / 18 MB, free: 5.074 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.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9148/0.9148, allocations: 119.3 MB / 411.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 66.92 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1232, allocations: 80.7 MB / 0.6492 GB, free: 13.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001443/0.1247, allocations: 392.5 kB / 0.6496 GB, free: 13.23 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.1251, allocations: 163.6 kB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.1251, allocations: 0 / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.1252, allocations: 3.938 kB / 0.6498 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.1252, allocations: 4 kB / 0.6498 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.1254, allocations: 7.984 kB / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.1254, allocations: 3.938 kB / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.1254, allocations: 0 / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.642e-05/0.1255, allocations: 8 kB / 0.6498 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.165e-05/0.1255, allocations: 7.984 kB / 0.6498 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1255, allocations: 0 / 0.6498 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.932e-05/0.1256, allocations: 11.98 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.1256, allocations: 0 / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.1256, allocations: 3.938 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.598e-05/0.1257, allocations: 15.92 kB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1257, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1257, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.1258, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB 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.0003109/0.1261, allocations: 319.8 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1261, allocations: 15.89 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1262, allocations: 30.75 kB / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.1262, allocations: 4.891 kB / 0.6502 GB, free: 12.58 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1263, allocations: 164.4 kB / 0.6503 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1263, allocations: 4.375 kB / 0.6503 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1263, allocations: 4.375 kB / 0.6503 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.1264, allocations: 34.19 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1264, allocations: 3.938 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1264, allocations: 4 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1265, allocations: 4 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.1265, allocations: 3.938 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1267, allocations: 153.7 kB / 0.6505 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.1267, allocations: 18.61 kB / 0.6505 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.1267, allocations: 12.92 kB / 0.6506 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.1269, allocations: 89.09 kB / 0.6506 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.127, allocations: 30.56 kB / 0.6507 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.127, allocations: 0 / 0.6507 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.1271, allocations: 49.58 kB / 0.6507 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1272, allocations: 51.41 kB / 0.6508 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.203e-05/0.1272, allocations: 89.86 kB / 0.6509 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1272, allocations: 25.7 kB / 0.6509 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.1273, allocations: 80.14 kB / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1273, allocations: 16.05 kB / 0.651 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1274, allocations: 13.72 kB / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1275, allocations: 314.8 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.1275, allocations: 0 / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.1275, allocations: 4 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.1276, allocations: 8.859 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1276, allocations: 3.938 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.718e-05/0.1276, allocations: 49.69 kB / 0.6513 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1277, allocations: 11.12 kB / 0.6514 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1277, allocations: 3.938 kB / 0.6514 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1277, allocations: 0 / 0.6514 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.1277, allocations: 4 kB / 0.6514 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1278, allocations: 3.984 kB / 0.6514 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.1278, allocations: 0 / 0.6514 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.1278, allocations: 0 / 0.6514 GB, free: 11.16 MB / 0.4983 GB 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 7.165e-05/0.1279, allocations: 106.7 kB / 0.6515 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.1279, allocations: 12.03 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.128, allocations: 44.69 kB / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.128, allocations: 4 kB / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.128, allocations: 0 / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.128, allocations: 0 / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.1281, allocations: 153.6 kB / 0.6517 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1281, allocations: 0 / 0.6517 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.1281, allocations: 4 kB / 0.6517 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1282, allocations: 0 / 0.6517 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1282, allocations: 3.938 kB / 0.6517 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1282, allocations: 11.97 kB / 0.6517 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1282, allocations: 0 / 0.6517 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.989e-05/0.1283, allocations: 61.47 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.1283, allocations: 77.11 kB / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1283, allocations: 7.938 kB / 0.6518 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.1283, allocations: 0 / 0.6518 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.1284, allocations: 7.938 kB / 0.6518 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1284, allocations: 4.031 kB / 0.6518 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.1284, allocations: 75.28 kB / 0.6519 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1284, allocations: 0 / 0.6519 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002032/0.1286, allocations: 11.98 kB / 0.6519 GB, free: 10.48 MB / 0.4983 GB 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.0003778/0.129, allocations: 0.6035 MB / 0.6525 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.1291, allocations: 11.94 kB / 0.6525 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1291, allocations: 0 / 0.6525 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.1291, allocations: 8 kB / 0.6525 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.1292, allocations: 7.938 kB / 0.6525 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.1295, allocations: 110.7 kB / 0.6526 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1298, allocations: 0.6727 MB / 0.6533 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.1299, allocations: 8.125 kB / 0.6533 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.1299, allocations: 7.438 kB / 0.6533 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of SimCode: time 2.6e-07/0.1299, allocations: 0 / 0.6533 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.1507, allocations: 1.057 MB / 0.6544 GB, free: 8.035 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/7.837, allocations: 3.266 kB / 0.6544 GB, free: 8.035 MB / 0.4983 GB (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