Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",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.001528/0.001528, allocations: 114 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.001691/0.001691, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.319/1.319, 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.8917/0.8917, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 58.33 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1419, allocations: 80.71 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001531/0.1435, allocations: 385.1 kB / 0.6496 GB, free: 13.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.1437, allocations: 31.88 kB / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1438, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.1438, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.1439, allocations: 4 kB / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.144, allocations: 7.938 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.1441, allocations: 7.922 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.1442, allocations: 4 kB / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.1442, allocations: 3.984 kB / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.1442, allocations: 4 kB / 0.6496 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1442, allocations: 0 / 0.6496 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.1443, allocations: 16 kB / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.1443, allocations: 0 / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.1443, allocations: 0 / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.232e-05/0.1444, allocations: 11.92 kB / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1444, allocations: 0 / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1444, allocations: 0 / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1445, allocations: 0 / 0.6497 GB, free: 13.12 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.0002936/0.1448, allocations: 319.5 kB / 0.65 GB, free: 12.75 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1448, allocations: 19.89 kB / 0.65 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.1448, allocations: 30.75 kB / 0.65 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.1449, allocations: 0.9375 kB / 0.65 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.145, allocations: 160.4 kB / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.145, allocations: 8.25 kB / 0.6502 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.145, allocations: 384 / 0.6502 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.1451, allocations: 38.25 kB / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1451, allocations: 3.938 kB / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.1451, allocations: 0 / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1451, allocations: 4 kB / 0.6502 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.1452, allocations: 4 kB / 0.6502 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.1453, allocations: 149.7 kB / 0.6504 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.1454, allocations: 30.53 kB / 0.6504 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.1454, allocations: 8.922 kB / 0.6504 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.1456, allocations: 85.09 kB / 0.6505 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1457, allocations: 34.56 kB / 0.6505 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1457, allocations: 0 / 0.6505 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.1458, allocations: 45.64 kB / 0.6506 GB, free: 12 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.1459, allocations: 51.41 kB / 0.6506 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.418e-05/0.1459, allocations: 89.86 kB / 0.6507 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1459, allocations: 25.7 kB / 0.6507 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.1459, allocations: 80.14 kB / 0.6508 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.146, allocations: 14.7 kB / 0.6508 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.146, allocations: 13.84 kB / 0.6508 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.1461, allocations: 318.8 kB / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.1461, allocations: 4 kB / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.1462, allocations: 0 / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.1462, allocations: 12.86 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1462, allocations: 0 / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.153e-05/0.1463, allocations: 41.69 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1463, allocations: 11.94 kB / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1463, allocations: 8.031 kB / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1463, allocations: 4 kB / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.1464, allocations: 4 kB / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1464, allocations: 7.922 kB / 0.6512 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.1464, allocations: 0 / 0.6512 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1464, allocations: 0 / 0.6512 GB, free: 11.27 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.545e-05/0.1465, allocations: 106.7 kB / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.1465, allocations: 4 kB / 0.6513 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.1466, allocations: 48.75 kB / 0.6514 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1466, allocations: 4 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1466, allocations: 0 / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1466, allocations: 0 / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.511e-05/0.1467, allocations: 145.7 kB / 0.6515 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1467, allocations: 0 / 0.6515 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.1468, allocations: 8 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1468, allocations: 3.938 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1468, allocations: 3.938 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1468, allocations: 4 kB / 0.6515 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1468, allocations: 3.938 kB / 0.6515 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.123e-05/0.1469, allocations: 65.16 kB / 0.6516 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1469, allocations: 81.09 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1469, allocations: 3.938 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.1469, allocations: 0 / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.147, allocations: 4 kB / 0.6517 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.147, allocations: 0 / 0.6517 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.147, allocations: 79.31 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of sort global known variables: time 8e-08/0.147, allocations: 0 / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001774/0.1472, allocations: 11.98 kB / 0.6518 GB, free: 10.6 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.0003275/0.1475, allocations: 0.6011 MB / 0.6524 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.397e-05/0.1476, allocations: 8 kB / 0.6524 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1476, allocations: 4.094 kB / 0.6524 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.1476, allocations: 4 kB / 0.6524 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1478, allocations: 4 kB / 0.6524 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.1481, allocations: 118.5 kB / 0.6525 GB, free: 9.793 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.1483, allocations: 0.6766 MB / 0.6532 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.1483, allocations: 0 / 0.6532 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.1483, allocations: 11.5 kB / 0.6532 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of SimCode: time 2.21e-07/0.1484, allocations: 0 / 0.6532 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.1655, allocations: 1.039 MB / 0.6542 GB, free: 8.176 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.519, allocations: 10.5 kB / 0.6542 GB, free: 8.168 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches