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.001582/0.001582, allocations: 113 kB / 17.07 MB, free: 6.016 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.001808/0.001808, allocations: 191 kB / 18 MB, free: 5.098 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.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7734/0.7734, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 62.73 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1131, allocations: 80.7 MB / 0.6492 GB, free: 13.62 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001333/0.1145, allocations: 397 kB / 0.6496 GB, free: 13.24 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.1148, allocations: 163.6 kB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1149, allocations: 0 / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.1149, allocations: 0 / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.115, allocations: 7.938 kB / 0.6498 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.1151, allocations: 15.92 kB / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 3.583e-05/0.1151, allocations: 0 / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.1152, allocations: 4 kB / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.323e-05/0.1152, allocations: 0 / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.1153, allocations: 3.984 kB / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1153, allocations: 0 / 0.6498 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.1153, allocations: 12 kB / 0.6498 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.1154, allocations: 3.984 kB / 0.6498 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.1154, allocations: 3.984 kB / 0.6498 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 6.613e-05/0.1154, allocations: 11.94 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1155, allocations: 4 kB / 0.6498 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.725e-06/0.1155, allocations: 0 / 0.6498 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1155, allocations: 3.938 kB / 0.6498 GB, free: 13.01 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.0002476/0.1157, allocations: 319.8 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1158, allocations: 8.031 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.1158, allocations: 30.75 kB / 0.6502 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.1158, allocations: 4.891 kB / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.5e-05/0.1159, allocations: 164.4 kB / 0.6503 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1159, allocations: 8.375 kB / 0.6503 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-06/0.1159, allocations: 384 / 0.6503 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/0.116, allocations: 30.27 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.116, allocations: 7.938 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.116, allocations: 0 / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.116, allocations: 3.938 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/0.1161, allocations: 11.94 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.1162, allocations: 145.7 kB / 0.6505 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 3.945e-05/0.1162, allocations: 30.67 kB / 0.6505 GB, free: 12.1 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.1163, allocations: 4.859 kB / 0.6505 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.1164, allocations: 85.09 kB / 0.6506 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1165, allocations: 34.56 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1165, allocations: 0 / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001167/0.1166, allocations: 45.58 kB / 0.6507 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1166, allocations: 59.52 kB / 0.6508 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.849e-05/0.1167, allocations: 89.86 kB / 0.6508 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1167, allocations: 25.7 kB / 0.6509 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/0.1167, allocations: 80.14 kB / 0.6509 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1167, allocations: 7.953 kB / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.1168, allocations: 13.72 kB / 0.651 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.1169, allocations: 310.8 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.1169, allocations: 4 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.1169, allocations: 4 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.1169, allocations: 24.78 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1169, allocations: 0 / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.472e-05/0.117, allocations: 37.64 kB / 0.6513 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.117, allocations: 4 kB / 0.6513 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.117, allocations: 3.938 kB / 0.6513 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.117, allocations: 0 / 0.6513 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.1171, allocations: 4 kB / 0.6513 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1171, allocations: 0 / 0.6513 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.1171, allocations: 8.094 kB / 0.6514 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.1171, allocations: 0 / 0.6514 GB, free: 11.18 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 5.756e-05/0.1172, allocations: 114.7 kB / 0.6515 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.1172, allocations: 0 / 0.6515 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.545e-05/0.1173, allocations: 48.7 kB / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1173, allocations: 0 / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1173, allocations: 3.984 kB / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1173, allocations: 0 / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.592e-05/0.1174, allocations: 153.7 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1174, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.1174, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1174, allocations: 4 kB / 0.6517 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1174, allocations: 3.938 kB / 0.6517 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1174, allocations: 0 / 0.6517 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1175, allocations: 3.984 kB / 0.6517 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.221e-05/0.1175, allocations: 57.48 kB / 0.6517 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.1176, allocations: 93.06 kB / 0.6518 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1176, allocations: 7.938 kB / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.1176, allocations: 4 kB / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.1176, allocations: 3.984 kB / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1176, allocations: 0 / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.141e-05/0.1176, allocations: 79.22 kB / 0.6519 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1176, allocations: 0 / 0.6519 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001761/0.1178, allocations: 4 kB / 0.6519 GB, free: 10.5 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.0002791/0.1181, allocations: 0.6074 MB / 0.6525 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.383e-05/0.1182, allocations: 12 kB / 0.6525 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1182, allocations: 0 / 0.6525 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.1182, allocations: 11.88 kB / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.1183, allocations: 0 / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.1186, allocations: 114.9 kB / 0.6526 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.1188, allocations: 0.6766 MB / 0.6533 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.1188, allocations: 7.969 kB / 0.6533 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.1188, allocations: 7.438 kB / 0.6533 GB, free: 8.973 MB / 0.4983 GB Notification: Performance of SimCode: time 3e-07/0.1188, allocations: 0 / 0.6533 GB, free: 8.973 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.1348, allocations: 1.058 MB / 0.6543 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.236, allocations: 2.75 kB / 0.6543 GB, free: 8.047 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