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.001204/0.001204, allocations: 108.6 kB / 17.06 MB, free: 6.016 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.001256/0.001256, allocations: 195.9 kB / 18 MB, free: 5.094 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.26/1.26, allocations: 222.9 MB / 241.7 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.8566/0.8566, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 61.75 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, allocations: 80.69 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.00134/0.1241, allocations: 397.1 kB / 0.6501 GB, free: 12.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.1243, allocations: 27.89 kB / 0.6501 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.1243, allocations: 0 / 0.6501 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.1243, allocations: 7.875 kB / 0.6501 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.1244, allocations: 0 / 0.6501 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.1245, allocations: 15.97 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.634e-05/0.1246, allocations: 3.938 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.946e-05/0.1246, allocations: 4 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.1247, allocations: 0 / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.1247, allocations: 0 / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.1247, allocations: 4 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.1248, allocations: 15.98 kB / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.1248, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.1248, allocations: 0 / 0.6501 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.636e-05/0.1249, allocations: 15.91 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1249, allocations: 0 / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1249, allocations: 0 / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.125, allocations: 0 / 0.6501 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.0002546/0.1252, allocations: 319.5 kB / 0.6505 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1252, allocations: 15.89 kB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1253, allocations: 12.89 kB / 0.6505 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.1254, allocations: 164.4 kB / 0.6506 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1254, allocations: 384 / 0.6506 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.1254, allocations: 384 / 0.6506 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.1255, allocations: 30.27 kB / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1255, allocations: 192 / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.1255, allocations: 3.938 kB / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1255, allocations: 0 / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.1255, allocations: 11.98 kB / 0.6507 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1257, allocations: 149.7 kB / 0.6508 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.1257, allocations: 26.52 kB / 0.6509 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.1258, allocations: 4.859 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.1259, allocations: 89.16 kB / 0.6509 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.126, allocations: 30.56 kB / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.126, allocations: 0 / 0.651 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.1261, allocations: 49.62 kB / 0.651 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1262, allocations: 59.34 kB / 0.6511 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.1262, allocations: 89.86 kB / 0.6512 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1262, allocations: 25.7 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.1263, allocations: 80.14 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.1263, allocations: 3.953 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.1263, allocations: 17.72 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1264, allocations: 315 kB / 0.6516 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.1264, allocations: 3.984 kB / 0.6516 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.1265, allocations: 4 kB / 0.6516 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.1265, allocations: 16.8 kB / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1265, allocations: 0 / 0.6516 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.084e-05/0.1266, allocations: 37.64 kB / 0.6516 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1266, allocations: 4 kB / 0.6516 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1266, allocations: 3.938 kB / 0.6516 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1266, allocations: 7.938 kB / 0.6517 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.1266, allocations: 8.078 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1267, allocations: 0 / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.1267, allocations: 4 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1267, allocations: 4 kB / 0.6517 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 5.84e-05/0.1267, allocations: 107.2 kB / 0.6518 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.1268, allocations: 0 / 0.6518 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.1269, allocations: 48.75 kB / 0.6518 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1269, allocations: 4.031 kB / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1269, allocations: 0 / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1269, allocations: 4 kB / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.432e-05/0.127, allocations: 145.6 kB / 0.652 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.127, allocations: 0 / 0.652 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.127, allocations: 11.92 kB / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.127, allocations: 0 / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.127, allocations: 3.938 kB / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.127, allocations: 0 / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.127, allocations: 0 / 0.652 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.524e-05/0.1271, allocations: 69.14 kB / 0.652 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.1271, allocations: 81.09 kB / 0.6521 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.1272, allocations: 7.938 kB / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.1272, allocations: 0 / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.1272, allocations: 0 / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1272, allocations: 4 kB / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.1272, allocations: 75.28 kB / 0.6522 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1272, allocations: 0 / 0.6522 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001764/0.1274, allocations: 4.031 kB / 0.6522 GB, free: 10.17 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 9.849e-05/0.1275, allocations: 103.1 kB / 0.6523 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.1276, allocations: 11.98 kB / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1276, allocations: 0 / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.1276, allocations: 8 kB / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.1277, allocations: 0 / 0.6523 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.1279, allocations: 85.09 kB / 0.6524 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1281, allocations: 0.6844 MB / 0.6531 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.649e-05/0.1281, allocations: 3.938 kB / 0.6531 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.1282, allocations: 7.438 kB / 0.6531 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of SimCode: time 2.21e-07/0.1282, allocations: 3.938 kB / 0.6531 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of Templates: time 0.001832/0.13, allocations: 290.8 kB / 0.6534 GB, free: 8.918 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