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.001377/0.001377, allocations: 105.9 kB / 17.06 MB, free: 6.004 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.001396/0.001396, allocations: 191 kB / 18 MB, free: 5.09 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.309/1.309, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8087/0.8087, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.97 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.124, allocations: 80.7 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001416/0.1255, allocations: 393.1 kB / 0.6496 GB, free: 13.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00036/0.1259, allocations: 171.5 kB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.1259, allocations: 4 kB / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.1259, allocations: 0 / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.126, allocations: 0 / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.1262, allocations: 11.92 kB / 0.6498 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.954e-05/0.1262, allocations: 7.984 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.1263, allocations: 4 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.1263, allocations: 0 / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1263, allocations: 0 / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1264, allocations: 4 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.1264, allocations: 11.92 kB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.1264, allocations: 4 kB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.1265, allocations: 4 kB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.48e-05/0.1266, allocations: 19.91 kB / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1266, allocations: 0 / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1266, allocations: 0 / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1266, allocations: 0 / 0.6498 GB, free: 12.98 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.0002801/0.1269, allocations: 311.8 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1269, allocations: 15.88 kB / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.1269, allocations: 34.75 kB / 0.6502 GB, free: 12.56 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.127, allocations: 4.891 kB / 0.6502 GB, free: 12.56 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.1271, allocations: 172.3 kB / 0.6503 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.1271, allocations: 384 / 0.6503 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1271, allocations: 384 / 0.6503 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.904e-05/0.1272, allocations: 30.27 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1272, allocations: 3.938 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1272, allocations: 0 / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1272, allocations: 3.984 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.905e-05/0.1272, allocations: 7.938 kB / 0.6504 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1274, allocations: 145.7 kB / 0.6505 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.1274, allocations: 30.61 kB / 0.6505 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.1275, allocations: 12.83 kB / 0.6506 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.1277, allocations: 85.17 kB / 0.6506 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1277, allocations: 30.56 kB / 0.6507 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1277, allocations: 0 / 0.6507 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.1278, allocations: 53.56 kB / 0.6507 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1279, allocations: 51.41 kB / 0.6508 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.228e-05/0.1279, allocations: 89.86 kB / 0.6508 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.1279, allocations: 25.7 kB / 0.6509 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.128, allocations: 80.14 kB / 0.6509 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.128, allocations: 7.953 kB / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.128, allocations: 13.72 kB / 0.651 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.1281, allocations: 318.8 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.1281, allocations: 4.125 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.1282, allocations: 0 / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.1282, allocations: 20.8 kB / 0.6513 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1282, allocations: 0 / 0.6513 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.259e-05/0.1283, allocations: 37.64 kB / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1283, allocations: 4 kB / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1283, allocations: 3.938 kB / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1283, allocations: 3.984 kB / 0.6513 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.1284, allocations: 4.094 kB / 0.6513 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1284, allocations: 4 kB / 0.6514 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.1284, allocations: 0 / 0.6514 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-06/0.1284, allocations: 0 / 0.6514 GB, free: 11.14 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 6.624e-05/0.1285, allocations: 114.7 kB / 0.6515 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.1285, allocations: 0 / 0.6515 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/0.1286, allocations: 52.69 kB / 0.6515 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1286, allocations: 0 / 0.6515 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1286, allocations: 4.031 kB / 0.6515 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1286, allocations: 0 / 0.6515 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.2e-05/0.1287, allocations: 149.6 kB / 0.6517 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1287, allocations: 3.984 kB / 0.6517 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.1287, allocations: 11.94 kB / 0.6517 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1288, allocations: 0 / 0.6517 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1288, allocations: 3.938 kB / 0.6517 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1288, allocations: 0 / 0.6517 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1288, allocations: 0 / 0.6517 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.679e-05/0.1289, allocations: 65.47 kB / 0.6517 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.1289, allocations: 81.05 kB / 0.6518 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1289, allocations: 7.938 kB / 0.6518 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.1289, allocations: 4 kB / 0.6518 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.1289, allocations: 0 / 0.6518 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.129, allocations: 0 / 0.6518 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.129, allocations: 75.28 kB / 0.6519 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.129, allocations: 0 / 0.6519 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000197/0.1292, allocations: 4 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.0003272/0.1295, allocations: 0.6074 MB / 0.6525 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.88e-05/0.1296, allocations: 19.92 kB / 0.6525 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1296, allocations: 0 / 0.6525 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.1296, allocations: 7.938 kB / 0.6525 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1298, allocations: 4.156 kB / 0.6525 GB, free: 9.809 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.1301, allocations: 110.7 kB / 0.6526 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.1303, allocations: 0.6766 MB / 0.6533 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.1303, allocations: 0 / 0.6533 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.1303, allocations: 11.44 kB / 0.6533 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of SimCode: time 2.6e-07/0.1303, allocations: 0 / 0.6533 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.1462, allocations: 1.054 MB / 0.6543 GB, free: 8.023 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.523, allocations: 11.62 kB / 0.6543 GB, free: 8.016 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