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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 111.6 kB / 17.06 MB, free: 6 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.001314/0.001314, allocations: 198.8 kB / 18.01 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.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8515/0.8515, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 67.06 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1292, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001473/0.1307, allocations: 389 kB / 0.6501 GB, free: 12.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000176/0.1309, allocations: 31.88 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.1309, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.131, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.131, allocations: 0 / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.1312, allocations: 8 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.267e-05/0.1312, allocations: 11.94 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.1313, allocations: 7.984 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.1313, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.1313, allocations: 4 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.1314, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.1314, allocations: 4 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.1314, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.1315, allocations: 11.92 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 6.544e-05/0.1315, allocations: 11.92 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1315, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1315, allocations: 4 kB / 0.6502 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1316, allocations: 0 / 0.6502 GB, free: 12.61 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.0002548/0.1318, allocations: 319.6 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1319, allocations: 11.89 kB / 0.6505 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.1319, allocations: 4.844 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.503e-05/0.132, allocations: 164.4 kB / 0.6506 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.132, allocations: 384 / 0.6506 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.132, allocations: 4.375 kB / 0.6506 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.1321, allocations: 30.25 kB / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1321, allocations: 4.188 kB / 0.6507 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1321, allocations: 11.94 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1321, allocations: 3.984 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.777e-05/0.1321, allocations: 3.938 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.1323, allocations: 149.7 kB / 0.6508 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.1323, allocations: 22.59 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.1323, allocations: 16.86 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.1326, allocations: 85.09 kB / 0.6509 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1326, allocations: 38.56 kB / 0.651 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.1326, allocations: 0 / 0.651 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001228/0.1327, allocations: 45.58 kB / 0.651 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1327, allocations: 51.41 kB / 0.6511 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.981e-05/0.1328, allocations: 89.86 kB / 0.6512 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1328, allocations: 25.7 kB / 0.6512 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.1328, allocations: 80.14 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1329, allocations: 11.95 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.1329, allocations: 17.72 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.133, allocations: 314.8 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.133, allocations: 4 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/0.133, allocations: 0 / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.1331, allocations: 12.86 kB / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1331, allocations: 0 / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.671e-05/0.1331, allocations: 41.62 kB / 0.6516 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1331, allocations: 16.03 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1332, allocations: 0 / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1332, allocations: 3.938 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.1332, allocations: 4 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1332, allocations: 0 / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.1332, allocations: 0 / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.1333, allocations: 0 / 0.6517 GB, free: 10.81 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.891e-05/0.1333, allocations: 115.2 kB / 0.6518 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1333, allocations: 0 / 0.6518 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.1334, allocations: 56.69 kB / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1334, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1334, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1334, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.311e-05/0.1335, allocations: 149.7 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1335, allocations: 0 / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.1336, allocations: 0 / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1336, allocations: 4 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1336, allocations: 3.938 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1336, allocations: 4.031 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1336, allocations: 3.984 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/0.1337, allocations: 61.12 kB / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.1337, allocations: 77.11 kB / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1337, allocations: 3.938 kB / 0.6521 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.215e-05/0.1337, allocations: 8 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1337, allocations: 0 / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1338, allocations: 3.938 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.1338, allocations: 83.25 kB / 0.6522 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1338, allocations: 0 / 0.6522 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000186/0.134, allocations: 11.98 kB / 0.6522 GB, free: 10.14 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.0001089/0.1341, allocations: 99.19 kB / 0.6523 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.915e-05/0.1342, allocations: 4 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1342, allocations: 0 / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.1342, allocations: 4 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1343, allocations: 8.125 kB / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001771/0.1345, allocations: 81.06 kB / 0.6524 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1347, allocations: 0.6804 MB / 0.6531 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.1347, allocations: 3.938 kB / 0.6531 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.1348, allocations: 11.44 kB / 0.6531 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of SimCode: time 2.31e-07/0.1348, allocations: 0 / 0.6531 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of Templates: time 0.001951/0.1367, allocations: 290.9 kB / 0.6534 GB, free: 8.902 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches