Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 105.3 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.001177/0.001177, allocations: 196 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.231/1.231, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8226/0.8226, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.89 kB / 0.5724 GB, free: 38.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 80.7 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.00206/0.1199, allocations: 1.378 MB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.1207, allocations: 0.5185 MB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.1207, allocations: 0 / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.461e-05/0.1208, allocations: 11.92 kB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1211, allocations: 47.75 kB / 0.6531 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.1212, allocations: 43.81 kB / 0.6531 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.1216, allocations: 0.546 MB / 0.6536 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.1217, allocations: 8.125 kB / 0.6537 GB, free: 9 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1219, allocations: 207.7 kB / 0.6539 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.1223, allocations: 275.5 kB / 0.6541 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.1223, allocations: 28 kB / 0.6541 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1225, allocations: 63.91 kB / 0.6542 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1227, allocations: 227.5 kB / 0.6544 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.1229, allocations: 238.9 kB / 0.6546 GB, free: 7.98 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.1233, allocations: 442.4 kB / 0.6551 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1233, allocations: 3.938 kB / 0.6551 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1233, allocations: 0 / 0.6551 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1233, allocations: 0 / 0.6551 GB, free: 7.543 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001539/0.1249, allocations: 0.8154 MB / 0.6559 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1249, allocations: 11.89 kB / 0.6559 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/0.125, allocations: 48.47 kB / 0.6559 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.1255, allocations: 335.6 kB / 0.6562 GB, free: 6.25 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1255, allocations: 29 kB / 0.6563 GB, free: 6.223 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.1256, allocations: 59.81 kB / 0.6563 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.1264, allocations: 0.5879 MB / 0.6569 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1264, allocations: 4 kB / 0.6569 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.1265, allocations: 16 kB / 0.6569 GB, free: 5.551 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1265, allocations: 11.98 kB / 0.6569 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.1273, allocations: 0.5855 MB / 0.6575 GB, free: 4.953 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.128, allocations: 0.6177 MB / 0.6581 GB, free: 4.289 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003048/0.1311, allocations: 1.36 MB / 0.6594 GB, free: 2.922 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.1317, allocations: 459.5 kB / 0.6599 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.1319, allocations: 110 kB / 0.66 GB, free: 2.344 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1319, allocations: 39.56 kB / 0.66 GB, free: 2.297 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.435e-06/0.1319, allocations: 4 kB / 0.66 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.001934/0.1339, allocations: 1.342 MB / 0.6613 GB, free: 0.9453 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1339, allocations: 64.41 kB / 0.6614 GB, free: 0.8672 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1341, allocations: 170.7 kB / 0.6616 GB, free: 0.6914 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.1342, allocations: 41.7 kB / 0.6616 GB, free: 0.6445 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1342, allocations: 110.1 kB / 0.6617 GB, free: 0.5312 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.1345, allocations: 402.2 kB / 0.6621 GB, free: 136 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.1348, allocations: 199 kB / 0.6623 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1349, allocations: 370.7 kB / 0.6626 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.1356, allocations: 474.3 kB / 0.6631 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.1362, allocations: 495.4 kB / 0.6636 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.1376, allocations: 1.033 MB / 0.6646 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1376, allocations: 0 / 0.6646 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001652/0.1393, allocations: 1.246 MB / 0.6658 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1393, allocations: 4 kB / 0.6658 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1393, allocations: 0 / 0.6658 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.1393, allocations: 8 kB / 0.6658 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/0.1403, allocations: 267.6 kB / 0.666 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1403, allocations: 12 kB / 0.6661 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.1407, allocations: 75.12 kB / 0.6661 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/0.1407, allocations: 39.98 kB / 0.6662 GB, free: 11.92 MB / 0.5139 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 (144): * Single equations (assignments): 144 * 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.0002156/0.141, allocations: 214.4 kB / 0.6664 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.1411, allocations: 43.53 kB / 0.6664 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.1431, allocations: 1.392 MB / 0.6678 GB, free: 10.27 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.1431, allocations: 16 kB / 0.6678 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1431, allocations: 0 / 0.6678 GB, free: 10.25 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.1432, allocations: 7.969 kB / 0.6678 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/0.144, allocations: 0.7464 MB / 0.6685 GB, free: 9.449 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.144, allocations: 3.984 kB / 0.6685 GB, free: 9.445 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.1453, allocations: 303.7 kB / 0.6688 GB, free: 9.148 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.1453, allocations: 4 kB / 0.6688 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-05/0.1455, allocations: 51.95 kB / 0.6689 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.1455, allocations: 15.88 kB / 0.6689 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1455, allocations: 4 kB / 0.6689 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.1478, allocations: 1.85 MB / 0.6707 GB, free: 7.203 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.1482, allocations: 248 kB / 0.6709 GB, free: 6.941 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.1483, allocations: 43.98 kB / 0.671 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.1486, allocations: 20 kB / 0.671 GB, free: 6.879 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.1488, allocations: 89.19 kB / 0.6711 GB, free: 6.789 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.1489, allocations: 39.98 kB / 0.6711 GB, free: 6.75 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.172e-05/0.1489, allocations: 136.3 kB / 0.6712 GB, free: 6.617 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1489, allocations: 0 / 0.6712 GB, free: 6.617 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000448/0.1494, allocations: 236 kB / 0.6715 GB, free: 6.387 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0001946/0.1496, allocations: 162.9 kB / 0.6716 GB, free: 6.219 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.1511, allocations: 1.151 MB / 0.6728 GB, free: 5.066 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1511, allocations: 0 / 0.6728 GB, free: 5.066 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007725/0.1519, allocations: 0.6358 MB / 0.6734 GB, free: 4.434 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1523, allocations: 107.9 kB / 0.6735 GB, free: 4.328 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.1558, allocations: 2.82 MB / 0.6762 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1562, allocations: 0.9233 MB / 0.6771 GB, free: 0.5273 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0006878/0.1569, allocations: 368.8 kB / 0.6775 GB, free: 168 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.1572, allocations: 87.41 kB / 0.6776 GB, free: 80 kB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.1572, allocations: 0 / 0.6776 GB, free: 80 kB / 0.5139 GB Notification: Performance of Templates: time 0.01457/0.1717, allocations: 10.25 MB / 0.6876 GB, free: 5.871 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches