Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 112.8 kB / 17.07 MB, free: 5.973 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.001171/0.001171, allocations: 200 kB / 18 MB, free: 5.059 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.204/1.204, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7955/0.7955, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 66.33 kB / 0.5724 GB, free: 38.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1155, allocations: 80.69 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002049/0.1176, allocations: 1.39 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000758/0.1184, allocations: 0.5146 MB / 0.653 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.1184, allocations: 4 kB / 0.653 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.434e-05/0.1185, allocations: 7.922 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.1188, allocations: 55.73 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.1189, allocations: 35.88 kB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1191, allocations: 199.4 kB / 0.6533 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.1192, allocations: 4.188 kB / 0.6533 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1193, allocations: 79.81 kB / 0.6534 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1195, allocations: 91.77 kB / 0.6535 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.1195, allocations: 12 kB / 0.6535 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1197, allocations: 31.97 kB / 0.6535 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1198, allocations: 67.84 kB / 0.6536 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.364e-05/0.1199, allocations: 71.64 kB / 0.6536 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.12, allocations: 147.4 kB / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1201, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1201, allocations: 0 / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1201, allocations: 0 / 0.6538 GB, free: 8.871 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007275/0.1208, allocations: 471.2 kB / 0.6542 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1208, allocations: 15.89 kB / 0.6543 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.1209, allocations: 12.84 kB / 0.6543 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1211, allocations: 219.7 kB / 0.6545 GB, free: 8.078 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1212, allocations: 20.22 kB / 0.6545 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.1212, allocations: 16 kB / 0.6545 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1215, allocations: 179.3 kB / 0.6547 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1215, allocations: 0 / 0.6547 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1215, allocations: 8 kB / 0.6547 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.1216, allocations: 4 kB / 0.6547 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1218, allocations: 140.6 kB / 0.6548 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.1221, allocations: 282.2 kB / 0.6551 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.123, allocations: 366.7 kB / 0.6554 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1232, allocations: 120.8 kB / 0.6556 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.1233, allocations: 81.11 kB / 0.6556 GB, free: 6.805 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1234, allocations: 46.5 kB / 0.6557 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.303e-06/0.1234, allocations: 0 / 0.6557 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0005887/0.124, allocations: 374 kB / 0.656 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.124, allocations: 55.41 kB / 0.6561 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.1241, allocations: 136.7 kB / 0.6562 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1242, allocations: 29.7 kB / 0.6563 GB, free: 6.137 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.1242, allocations: 96.69 kB / 0.6563 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.1243, allocations: 106.5 kB / 0.6564 GB, free: 5.934 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1244, allocations: 70.02 kB / 0.6565 GB, free: 5.855 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1245, allocations: 330.8 kB / 0.6568 GB, free: 5.523 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1247, allocations: 120.6 kB / 0.6569 GB, free: 5.406 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1249, allocations: 125.2 kB / 0.6571 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.1253, allocations: 279 kB / 0.6573 GB, free: 5.012 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1253, allocations: 0 / 0.6573 GB, free: 5.012 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004998/0.1258, allocations: 357.1 kB / 0.6577 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1259, allocations: 8 kB / 0.6577 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1259, allocations: 0 / 0.6577 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1259, allocations: 4 kB / 0.6577 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1262, allocations: 75.91 kB / 0.6578 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1262, allocations: 0 / 0.6578 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1263, allocations: 15.84 kB / 0.6578 GB, free: 4.555 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1263, allocations: 12 kB / 0.6578 GB, free: 4.543 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 (39): * Single equations (assignments): 39 * 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 0.0001107/0.1265, allocations: 142.6 kB / 0.6579 GB, free: 4.395 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.1265, allocations: 15.81 kB / 0.6579 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006223/0.1271, allocations: 407.4 kB / 0.6583 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1271, allocations: 4 kB / 0.6583 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1271, allocations: 0 / 0.6583 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1271, allocations: 0 / 0.6583 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1274, allocations: 313.2 kB / 0.6586 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1275, allocations: 0 / 0.6586 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.1279, allocations: 83.89 kB / 0.6587 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1279, allocations: 4 kB / 0.6587 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.1279, allocations: 16 kB / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1279, allocations: 0 / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1279, allocations: 3.938 kB / 0.6587 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.1286, allocations: 0.5374 MB / 0.6592 GB, free: 2.945 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1287, allocations: 124.8 kB / 0.6594 GB, free: 2.805 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.1288, allocations: 15.98 kB / 0.6594 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1289, allocations: 4 kB / 0.6594 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.129, allocations: 31.95 kB / 0.6594 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.129, allocations: 8 kB / 0.6594 GB, free: 2.746 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.129, allocations: 107.2 kB / 0.6595 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.129, allocations: 3.938 kB / 0.6595 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002743/0.1293, allocations: 64 kB / 0.6596 GB, free: 2.574 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001429/0.1295, allocations: 115.7 kB / 0.6597 GB, free: 2.453 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.13, allocations: 307.9 kB / 0.66 GB, free: 2.152 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.13, allocations: 0 / 0.66 GB, free: 2.152 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.1302, allocations: 175.8 kB / 0.6602 GB, free: 1.98 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1304, allocations: 35.91 kB / 0.6602 GB, free: 1.945 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1317, allocations: 0.8393 MB / 0.661 GB, free: 1.082 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1319, allocations: 0.7449 MB / 0.6617 GB, free: 316 kB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.1321, allocations: 93.84 kB / 0.6618 GB, free: 220 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.1322, allocations: 27.42 kB / 0.6619 GB, free: 192 kB / 0.4983 GB Notification: Performance of SimCode: time 1.323e-06/0.1322, allocations: 112 / 0.6619 GB, free: 192 kB / 0.4983 GB Notification: Performance of Templates: time 0.00589/0.1381, allocations: 3.041 MB / 0.6648 GB, free: 13.16 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches