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.001428/0.001428, allocations: 112.7 kB / 17.06 MB, free: 5.973 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.001544/0.001545, allocations: 200 kB / 18.01 MB, free: 5.055 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.289/1.289, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9194/0.9194, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 61.77 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 80.7 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001393/0.1436, allocations: 393 kB / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003705/0.144, allocations: 167.5 kB / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.144, allocations: 0 / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.144, allocations: 0 / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.1441, allocations: 0 / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.1443, allocations: 19.94 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.1443, allocations: 3.938 kB / 0.6498 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1444, allocations: 15.91 kB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.1444, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.1444, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1445, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.1445, allocations: 15.98 kB / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.1445, allocations: 0 / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.1446, allocations: 0 / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.64e-05/0.1446, allocations: 11.92 kB / 0.6498 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1446, allocations: 4 kB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.196e-06/0.1447, allocations: 4 kB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1447, allocations: 0 / 0.6498 GB, free: 12.96 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.0002847/0.145, allocations: 315.6 kB / 0.6501 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.145, allocations: 11.89 kB / 0.6501 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.145, allocations: 34.73 kB / 0.6501 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.1451, allocations: 0.9375 kB / 0.6501 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.717e-05/0.1452, allocations: 164.3 kB / 0.6503 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1452, allocations: 4.375 kB / 0.6503 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-06/0.1452, allocations: 384 / 0.6503 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.1453, allocations: 34.27 kB / 0.6503 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1453, allocations: 3.938 kB / 0.6503 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1453, allocations: 4 kB / 0.6504 GB, free: 12.3 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1453, allocations: 3.984 kB / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.1453, allocations: 7.984 kB / 0.6504 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.1455, allocations: 145.7 kB / 0.6505 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.1455, allocations: 26.55 kB / 0.6505 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.1456, allocations: 12.92 kB / 0.6505 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.1458, allocations: 85.09 kB / 0.6506 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1458, allocations: 34.56 kB / 0.6507 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1458, allocations: 0 / 0.6507 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.1459, allocations: 45.62 kB / 0.6507 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.146, allocations: 51.41 kB / 0.6507 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.434e-05/0.146, allocations: 97.92 kB / 0.6508 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.146, allocations: 25.7 kB / 0.6509 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.1461, allocations: 80.14 kB / 0.6509 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.1461, allocations: 10.72 kB / 0.651 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.1461, allocations: 13.72 kB / 0.651 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.1462, allocations: 310.8 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.1462, allocations: 7.984 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.1463, allocations: 0 / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.1463, allocations: 16.92 kB / 0.6513 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1463, allocations: 3.938 kB / 0.6513 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.187e-05/0.1464, allocations: 37.7 kB / 0.6513 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1464, allocations: 15.06 kB / 0.6513 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1464, allocations: 3.938 kB / 0.6513 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1464, allocations: 0 / 0.6513 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.1465, allocations: 11.92 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.1465, allocations: 0 / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.1465, allocations: 0 / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1465, allocations: 32 / 0.6514 GB, free: 11.12 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.135e-05/0.1466, allocations: 114.7 kB / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-06/0.1466, allocations: 0 / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.1467, allocations: 52.73 kB / 0.6515 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1467, allocations: 0 / 0.6515 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1467, allocations: 0 / 0.6515 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1467, allocations: 0 / 0.6515 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.1468, allocations: 145.7 kB / 0.6517 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1468, allocations: 8.031 kB / 0.6517 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.1468, allocations: 3.984 kB / 0.6517 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1468, allocations: 7.938 kB / 0.6517 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.1468, allocations: 3.938 kB / 0.6517 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1469, allocations: 0 / 0.6517 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1469, allocations: 0 / 0.6517 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.92e-05/0.1469, allocations: 61.48 kB / 0.6517 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.147, allocations: 81.09 kB / 0.6518 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.147, allocations: 7.969 kB / 0.6518 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.007e-05/0.147, allocations: 4 kB / 0.6518 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.147, allocations: 0 / 0.6518 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.147, allocations: 0 / 0.6518 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.1471, allocations: 75.28 kB / 0.6519 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1471, allocations: 0 / 0.6519 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000195/0.1473, allocations: 4 kB / 0.6519 GB, free: 10.46 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.0003175/0.1476, allocations: 0.6112 MB / 0.6525 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.1477, allocations: 12 kB / 0.6525 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1477, allocations: 0 / 0.6525 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.1477, allocations: 7.984 kB / 0.6525 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1478, allocations: 3.938 kB / 0.6525 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.1481, allocations: 118.7 kB / 0.6526 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.1483, allocations: 0.6844 MB / 0.6533 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.1484, allocations: 0 / 0.6533 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.1484, allocations: 7.438 kB / 0.6533 GB, free: 8.926 MB / 0.4983 GB Notification: Performance of SimCode: time 2.1e-07/0.1484, allocations: 0 / 0.6533 GB, free: 8.926 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.1671, allocations: 1.057 MB / 0.6543 GB, free: 8 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.535, allocations: 10.62 kB / 0.6543 GB, free: 7.996 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/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