Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001654/0.001654, allocations: 111.8 kB / 17.06 MB, free: 5.992 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.00174/0.00174, allocations: 200 kB / 18.01 MB, free: 5.066 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.474/1.474, 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 1.126/1.126, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 66.55 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1557, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001648/0.1574, allocations: 405 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000222/0.1576, allocations: 31.88 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.1576, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.1577, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.1577, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1579, allocations: 4 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.158, allocations: 3.984 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.158, allocations: 7.938 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.158, allocations: 8 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.1581, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1581, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.1582, allocations: 11.98 kB / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.1582, allocations: 3.938 kB / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.1582, allocations: 0 / 0.6501 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.1583, allocations: 11.98 kB / 0.6502 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1583, allocations: 3.938 kB / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1583, allocations: 0 / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.1583, allocations: 0 / 0.6502 GB, free: 12.59 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.000392/0.1587, allocations: 319.5 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1588, allocations: 12.03 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.1588, allocations: 4.891 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.159, allocations: 164.4 kB / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.159, allocations: 384 / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.159, allocations: 384 / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1591, allocations: 38.27 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1591, allocations: 192 / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1592, allocations: 3.938 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1592, allocations: 3.938 kB / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.1592, allocations: 11.94 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.1594, allocations: 153.7 kB / 0.6508 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.1595, allocations: 18.58 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.1595, allocations: 4.859 kB / 0.6509 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.1598, allocations: 93.16 kB / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1598, allocations: 34.56 kB / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1598, allocations: 0 / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.16, allocations: 41.58 kB / 0.651 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.16, allocations: 59.39 kB / 0.6511 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.1601, allocations: 93.86 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1601, allocations: 25.7 kB / 0.6512 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.1602, allocations: 80.14 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1602, allocations: 3.953 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.1602, allocations: 17.84 kB / 0.6513 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1604, allocations: 310.8 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.1604, allocations: 4 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-06/0.1604, allocations: 4 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.1605, allocations: 12.84 kB / 0.6516 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1605, allocations: 0 / 0.6516 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.137e-05/0.1606, allocations: 41.64 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1606, allocations: 7.125 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1606, allocations: 4.094 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1606, allocations: 15.86 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.121e-05/0.1607, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1607, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.1607, allocations: 4 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.1607, allocations: 0 / 0.6517 GB, free: 10.8 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 9.493e-05/0.1608, allocations: 110.7 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1608, allocations: 0 / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1609, allocations: 52.7 kB / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1609, allocations: 0 / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.161, allocations: 3.984 kB / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.161, allocations: 4 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.1611, allocations: 149.6 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1611, allocations: 0 / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.1611, allocations: 4 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1611, allocations: 0 / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1611, allocations: 3.938 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1612, allocations: 0 / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1612, allocations: 4.016 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.45e-05/0.1613, allocations: 65.14 kB / 0.6521 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.1613, allocations: 81.05 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1613, allocations: 3.938 kB / 0.6521 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.1613, allocations: 7.984 kB / 0.6522 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.1614, allocations: 0 / 0.6522 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1614, allocations: 7.938 kB / 0.6522 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.1614, allocations: 79.31 kB / 0.6522 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1614, allocations: 0 / 0.6522 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001769/0.1616, allocations: 0 / 0.6522 GB, free: 10.13 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.0001266/0.1617, allocations: 99.72 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.1618, allocations: 12 kB / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1618, allocations: 0 / 0.6523 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.1619, allocations: 7.984 kB / 0.6523 GB, free: 10 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.162, allocations: 0 / 0.6523 GB, free: 10 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.1622, allocations: 93.03 kB / 0.6524 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1626, allocations: 0.6844 MB / 0.6531 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.1626, allocations: 0 / 0.6531 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.1626, allocations: 11.38 kB / 0.6531 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of SimCode: time 2.41e-07/0.1626, allocations: 0 / 0.6531 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of Templates: time 0.002484/0.1651, allocations: 288.1 kB / 0.6534 GB, free: 8.887 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches