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.001242/0.001242, allocations: 108.4 kB / 17.74 MB, free: 5.34 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.001205/0.001205, allocations: 183 kB / 18.67 MB, free: 4.418 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.008/1.008, allocations: 119.3 MB / 411.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 61.2 kB / 0.5715 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1445, allocations: 80.7 MB / 0.6503 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001694/0.1463, allocations: 393.1 kB / 0.6507 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.1465, allocations: 27.88 kB / 0.6507 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.1466, allocations: 0 / 0.6507 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.1466, allocations: 8 kB / 0.6508 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.1467, allocations: 3.938 kB / 0.6508 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1469, allocations: 7.922 kB / 0.6508 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.147, allocations: 11.94 kB / 0.6508 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.147, allocations: 0 / 0.6508 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.147, allocations: 0 / 0.6508 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.1471, allocations: 8 kB / 0.6508 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1471, allocations: 0 / 0.6508 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.1472, allocations: 7.984 kB / 0.6508 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1472, allocations: 3.984 kB / 0.6508 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.1472, allocations: 4 kB / 0.6508 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.42e-05/0.1473, allocations: 19.92 kB / 0.6508 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1474, allocations: 0 / 0.6508 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1474, allocations: 0 / 0.6508 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1474, allocations: 0 / 0.6508 GB, free: 12.6 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.0003204/0.1477, allocations: 307.6 kB / 0.6511 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1477, allocations: 11.89 kB / 0.6511 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1478, allocations: 4.844 kB / 0.6511 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1479, allocations: 164.4 kB / 0.6513 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1479, allocations: 4.375 kB / 0.6513 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1479, allocations: 4.375 kB / 0.6513 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1481, allocations: 38.2 kB / 0.6513 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1481, allocations: 192 / 0.6513 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1481, allocations: 3.938 kB / 0.6513 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1481, allocations: 0 / 0.6513 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.1481, allocations: 4 kB / 0.6513 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1483, allocations: 149.7 kB / 0.6515 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.1484, allocations: 22.61 kB / 0.6515 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.1484, allocations: 12.86 kB / 0.6515 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.1487, allocations: 89.09 kB / 0.6516 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1487, allocations: 34.56 kB / 0.6516 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1487, allocations: 0 / 0.6516 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.1489, allocations: 41.62 kB / 0.6517 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1489, allocations: 51.41 kB / 0.6517 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.87e-05/0.149, allocations: 93.98 kB / 0.6518 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.149, allocations: 29.7 kB / 0.6518 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.149, allocations: 80.14 kB / 0.6519 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1491, allocations: 11.84 kB / 0.6519 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1491, allocations: 9.719 kB / 0.6519 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1493, allocations: 310.8 kB / 0.6522 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.1493, allocations: 8 kB / 0.6522 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.1493, allocations: 7.922 kB / 0.6522 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.1493, allocations: 16.92 kB / 0.6523 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1493, allocations: 3.938 kB / 0.6523 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.14e-05/0.1494, allocations: 37.7 kB / 0.6523 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1494, allocations: 6.969 kB / 0.6523 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1494, allocations: 3.938 kB / 0.6523 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1495, allocations: 3.938 kB / 0.6523 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.1495, allocations: 4 kB / 0.6523 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1496, allocations: 0 / 0.6523 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1496, allocations: 3.984 kB / 0.6523 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.1496, allocations: 4.031 kB / 0.6523 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 8.201e-05/0.1497, allocations: 115.2 kB / 0.6524 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.1497, allocations: 0 / 0.6524 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1498, allocations: 48.75 kB / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1498, allocations: 0 / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1498, allocations: 0 / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.1498, allocations: 4 kB / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.15, allocations: 153.7 kB / 0.6526 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.15, allocations: 0 / 0.6526 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.15, allocations: 4 kB / 0.6526 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.15, allocations: 3.984 kB / 0.6526 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.15, allocations: 7.922 kB / 0.6527 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.15, allocations: 0 / 0.6527 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1501, allocations: 0 / 0.6527 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.1502, allocations: 61.08 kB / 0.6527 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.1502, allocations: 81.14 kB / 0.6528 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1502, allocations: 11.92 kB / 0.6528 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.1503, allocations: 0 / 0.6528 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.1503, allocations: 0 / 0.6528 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1503, allocations: 0 / 0.6528 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.1503, allocations: 75.28 kB / 0.6529 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1503, allocations: 0 / 0.6529 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.00022/0.1505, allocations: 8 kB / 0.6529 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.0001364/0.1507, allocations: 99.19 kB / 0.653 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 9.435e-05/0.1508, allocations: 19.92 kB / 0.653 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1508, allocations: 0 / 0.653 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.1508, allocations: 4 kB / 0.653 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.151, allocations: 4 kB / 0.653 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.1512, allocations: 102.8 kB / 0.6531 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1515, allocations: 0.6804 MB / 0.6538 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.1515, allocations: 15.38 kB / 0.6538 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of SimCode: time 2.8e-07/0.1515, allocations: 128 / 0.6538 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of Templates: time 0.002175/0.1537, allocations: 445.8 kB / 0.6542 GB, free: 8.723 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