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.001288/0.001289, allocations: 114.9 kB / 17.75 MB, free: 5.312 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.001162/0.001162, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.315/1.315, allocations: 222.9 MB / 242.4 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.9143/0.9143, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 69.92 kB / 0.5715 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1425, allocations: 80.69 MB / 0.6503 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001368/0.1439, allocations: 389 kB / 0.6507 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.1441, allocations: 39.81 kB / 0.6508 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.1441, allocations: 0 / 0.6508 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.1442, allocations: 0 / 0.6508 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.1442, allocations: 0 / 0.6508 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.1444, allocations: 15.94 kB / 0.6508 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.29e-05/0.1444, allocations: 0 / 0.6508 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.1445, allocations: 11.92 kB / 0.6508 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.1445, allocations: 0 / 0.6508 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.1445, allocations: 3.984 kB / 0.6508 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1445, allocations: 0 / 0.6508 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.1446, allocations: 16 kB / 0.6508 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.1446, allocations: 0 / 0.6508 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.1446, allocations: 0 / 0.6508 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.901e-05/0.1447, allocations: 7.984 kB / 0.6508 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1447, allocations: 3.938 kB / 0.6508 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1447, allocations: 0 / 0.6508 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1448, allocations: 0 / 0.6508 GB, free: 12.63 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.0002718/0.145, allocations: 319.6 kB / 0.6511 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1451, allocations: 15.89 kB / 0.6511 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1451, allocations: 4.844 kB / 0.6511 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.1452, allocations: 164.4 kB / 0.6513 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1452, allocations: 384 / 0.6513 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1452, allocations: 4.359 kB / 0.6513 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.1453, allocations: 38.19 kB / 0.6513 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1453, allocations: 192 / 0.6513 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1453, allocations: 3.938 kB / 0.6513 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1454, allocations: 0 / 0.6513 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.1454, allocations: 8 kB / 0.6513 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1455, allocations: 145.7 kB / 0.6515 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.1456, allocations: 30.59 kB / 0.6515 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.1456, allocations: 8.922 kB / 0.6515 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.1458, allocations: 81.11 kB / 0.6516 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1459, allocations: 38.48 kB / 0.6516 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1459, allocations: 0 / 0.6516 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.146, allocations: 49.73 kB / 0.6517 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.146, allocations: 51.41 kB / 0.6517 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.465e-05/0.1461, allocations: 89.86 kB / 0.6518 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1461, allocations: 25.7 kB / 0.6518 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.1461, allocations: 84.12 kB / 0.6519 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1462, allocations: 7.844 kB / 0.6519 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.1462, allocations: 25.64 kB / 0.652 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.1463, allocations: 310.8 kB / 0.6522 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.1463, allocations: 4.031 kB / 0.6523 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.1463, allocations: 4 kB / 0.6523 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.1464, allocations: 16.8 kB / 0.6523 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1464, allocations: 0 / 0.6523 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.3e-05/0.1464, allocations: 37.69 kB / 0.6523 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1465, allocations: 8 kB / 0.6523 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1465, allocations: 0 / 0.6523 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1465, allocations: 7.875 kB / 0.6523 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.1465, allocations: 4 kB / 0.6523 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1465, allocations: 4.094 kB / 0.6523 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.1466, allocations: 0 / 0.6523 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1466, allocations: 4 kB / 0.6523 GB, free: 10.82 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.201e-05/0.1466, allocations: 107.2 kB / 0.6524 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-06/0.1467, allocations: 4 kB / 0.6524 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.797e-05/0.1467, allocations: 48.69 kB / 0.6525 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1468, allocations: 4 kB / 0.6525 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1468, allocations: 4.031 kB / 0.6525 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1468, allocations: 0 / 0.6525 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.388e-05/0.1469, allocations: 145.7 kB / 0.6526 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1469, allocations: 4 kB / 0.6526 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.1469, allocations: 4 kB / 0.6526 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1469, allocations: 0 / 0.6526 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1469, allocations: 3.938 kB / 0.6526 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1469, allocations: 4 kB / 0.6526 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1469, allocations: 0 / 0.6526 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.727e-05/0.147, allocations: 69.06 kB / 0.6527 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.147, allocations: 77.11 kB / 0.6528 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.147, allocations: 7.938 kB / 0.6528 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.1471, allocations: 0 / 0.6528 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.1471, allocations: 4 kB / 0.6528 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.1471, allocations: 0 / 0.6528 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.1471, allocations: 75.28 kB / 0.6529 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of sort global known variables: time 9e-08/0.1471, allocations: 0 / 0.6529 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000188/0.1473, allocations: 4 kB / 0.6529 GB, free: 10.16 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.0001048/0.1474, allocations: 103.2 kB / 0.653 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.1475, allocations: 8 kB / 0.653 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1475, allocations: 0 / 0.653 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.1475, allocations: 11.94 kB / 0.653 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1477, allocations: 0 / 0.653 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.1478, allocations: 110.7 kB / 0.6531 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1481, allocations: 0.6806 MB / 0.6538 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.1481, allocations: 11.44 kB / 0.6538 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of SimCode: time 2.31e-07/0.1481, allocations: 3.938 kB / 0.6538 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of Templates: time 0.001568/0.1497, allocations: 438 kB / 0.6542 GB, free: 8.742 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/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