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.001266/0.001266, allocations: 113.2 kB / 17.06 MB, free: 5.945 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.001231/0.001232, allocations: 200.1 kB / 18.01 MB, free: 5.023 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9187/0.9187, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 61.8 kB / 0.5709 GB, free: 39.72 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1634, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001315/0.1647, allocations: 405.1 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.1649, allocations: 27.83 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.1649, allocations: 0 / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.165, allocations: 4 kB / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.165, allocations: 0 / 0.6501 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.1652, allocations: 7.922 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 3.939e-05/0.1652, allocations: 11.94 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.1652, allocations: 0 / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.1653, allocations: 3.984 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.1653, allocations: 8 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.1653, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/0.1654, allocations: 4 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 7.705e-06/0.1654, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.1654, allocations: 0 / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 6.774e-05/0.1655, allocations: 23.91 kB / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1655, allocations: 0 / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1655, allocations: 0 / 0.6502 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1655, allocations: 4 kB / 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.0002391/0.1658, allocations: 315.5 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1658, allocations: 8.031 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1658, allocations: 4.891 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.1659, allocations: 160.4 kB / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1659, allocations: 4.375 kB / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.1659, allocations: 384 / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.998e-05/0.166, allocations: 42.19 kB / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.166, allocations: 192 / 0.6507 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.166, allocations: 7.938 kB / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1661, allocations: 0 / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.1661, allocations: 4 kB / 0.6507 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.1662, allocations: 145.7 kB / 0.6508 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 3.976e-05/0.1663, allocations: 22.59 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.1663, allocations: 8.922 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.1665, allocations: 97.03 kB / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1665, allocations: 34.56 kB / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1665, allocations: 0 / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001129/0.1666, allocations: 37.64 kB / 0.651 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1667, allocations: 51.41 kB / 0.6511 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.332e-05/0.1667, allocations: 89.86 kB / 0.6512 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1667, allocations: 25.7 kB / 0.6512 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.1668, allocations: 84.14 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1668, allocations: 12.08 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.1668, allocations: 13.7 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1669, allocations: 314.8 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-06/0.1669, allocations: 4 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-06/0.1669, allocations: 7.938 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.167, allocations: 12.86 kB / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.167, allocations: 0 / 0.6516 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.356e-05/0.167, allocations: 45.75 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1671, allocations: 4 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1671, allocations: 3.938 kB / 0.6517 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1671, allocations: 3.938 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.1671, allocations: 4 kB / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1671, allocations: 0 / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/0.1671, allocations: 0 / 0.6517 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.1672, 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 6.404e-05/0.1672, allocations: 114.7 kB / 0.6518 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.1672, allocations: 4.031 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.1673, allocations: 48.75 kB / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1673, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1673, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1673, allocations: 0 / 0.6518 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.844e-05/0.1674, allocations: 161.6 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1674, allocations: 0 / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.1675, allocations: 4 kB / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1675, allocations: 0 / 0.652 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1675, allocations: 7.953 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1675, allocations: 4 kB / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1675, allocations: 0 / 0.652 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.21e-05/0.1676, allocations: 65.06 kB / 0.6521 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.1676, allocations: 77.11 kB / 0.6521 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.1676, allocations: 7.938 kB / 0.6521 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-06/0.1676, allocations: 0 / 0.6521 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.1676, allocations: 0 / 0.6521 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1676, allocations: 4.031 kB / 0.6521 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.1677, allocations: 75.28 kB / 0.6522 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1677, allocations: 0 / 0.6522 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001663/0.1678, allocations: 4 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.0001004/0.168, allocations: 103.7 kB / 0.6523 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.168, allocations: 11.94 kB / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.168, allocations: 0 / 0.6523 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.1681, allocations: 8.062 kB / 0.6523 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.0001128/0.1682, allocations: 7.938 kB / 0.6523 GB, free: 10 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001494/0.1683, allocations: 88.95 kB / 0.6524 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.1685, allocations: 0.6766 MB / 0.6531 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.1686, allocations: 7.938 kB / 0.6531 GB, free: 9.176 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.1686, allocations: 7.438 kB / 0.6531 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of SimCode: time 2e-07/0.1686, allocations: 0 / 0.6531 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of Templates: time 0.001719/0.1703, allocations: 288.2 kB / 0.6534 GB, free: 8.895 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