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.001494/0.001494, allocations: 111.8 kB / 17.7 MB, free: 5.242 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.00168/0.00168, allocations: 187.7 kB / 18.64 MB, free: 4.316 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.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8777/0.8777, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 69.02 kB / 0.573 GB, free: 38.9 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1217, allocations: 80.69 MB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002123/0.1239, allocations: 1.394 MB / 0.6531 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.1247, allocations: 0.5107 MB / 0.6536 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.1247, allocations: 0 / 0.6536 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.258e-05/0.1248, allocations: 7.922 kB / 0.6536 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.125, allocations: 59.75 kB / 0.6537 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.1252, allocations: 39.88 kB / 0.6537 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1254, allocations: 195.4 kB / 0.6539 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.1254, allocations: 8.172 kB / 0.6539 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1255, allocations: 79.81 kB / 0.654 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1257, allocations: 95.75 kB / 0.6541 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.1258, allocations: 8 kB / 0.6541 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.1258, allocations: 31.97 kB / 0.6541 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.1259, allocations: 67.8 kB / 0.6542 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.569e-05/0.126, allocations: 71.64 kB / 0.6543 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1262, allocations: 143.5 kB / 0.6544 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1262, allocations: 4 kB / 0.6544 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1262, allocations: 0 / 0.6544 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1262, allocations: 0 / 0.6544 GB, free: 8.867 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.0006942/0.1269, allocations: 475.2 kB / 0.6549 GB, free: 8.352 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.127, allocations: 11.89 kB / 0.6549 GB, free: 8.34 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.127, allocations: 12.84 kB / 0.6549 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1272, allocations: 219.7 kB / 0.6551 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1272, allocations: 12.17 kB / 0.6551 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.1273, allocations: 16 kB / 0.6551 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.1276, allocations: 179.4 kB / 0.6553 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1276, allocations: 0 / 0.6553 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1276, allocations: 4 kB / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1276, allocations: 4 kB / 0.6553 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1278, allocations: 148.6 kB / 0.6554 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.1281, allocations: 282.2 kB / 0.6557 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.129, allocations: 362.7 kB / 0.6561 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1292, allocations: 120.7 kB / 0.6562 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.1294, allocations: 89.09 kB / 0.6563 GB, free: 6.801 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1294, allocations: 34.56 kB / 0.6563 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.353e-06/0.1294, allocations: 3.938 kB / 0.6563 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0005982/0.13, allocations: 378.1 kB / 0.6567 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.1301, allocations: 51.41 kB / 0.6567 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.1302, allocations: 133.7 kB / 0.6568 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1302, allocations: 29.7 kB / 0.6569 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.1302, allocations: 100.7 kB / 0.657 GB, free: 6.039 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.1303, allocations: 102.5 kB / 0.6571 GB, free: 5.938 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.5e-05/0.1304, allocations: 66.02 kB / 0.6571 GB, free: 5.863 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1305, allocations: 334.8 kB / 0.6574 GB, free: 5.527 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.1307, allocations: 120.6 kB / 0.6575 GB, free: 5.41 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1309, allocations: 129.2 kB / 0.6577 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.1313, allocations: 282.9 kB / 0.6579 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1313, allocations: 0 / 0.6579 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004702/0.1318, allocations: 349.2 kB / 0.6583 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1318, allocations: 4 kB / 0.6583 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1318, allocations: 0 / 0.6583 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1318, allocations: 4 kB / 0.6583 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.1321, allocations: 75.89 kB / 0.6584 GB, free: 4.578 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1321, allocations: 8 kB / 0.6584 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.1322, allocations: 19.78 kB / 0.6584 GB, free: 4.551 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1323, allocations: 16 kB / 0.6584 GB, free: 4.535 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 9.949e-05/0.1324, allocations: 134.6 kB / 0.6585 GB, free: 4.395 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.1324, allocations: 15.81 kB / 0.6585 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/0.133, allocations: 411.3 kB / 0.6589 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1331, allocations: 4 kB / 0.6589 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1331, allocations: 0 / 0.6589 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1331, allocations: 3.984 kB / 0.6589 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.1334, allocations: 313.3 kB / 0.6592 GB, free: 3.602 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1334, allocations: 4 kB / 0.6592 GB, free: 3.598 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.1338, allocations: 79.91 kB / 0.6593 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.1338, allocations: 4 kB / 0.6593 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.1338, allocations: 11.98 kB / 0.6593 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1338, allocations: 4 kB / 0.6593 GB, free: 3.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1338, allocations: 4 kB / 0.6593 GB, free: 3.496 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.1346, allocations: 0.5296 MB / 0.6599 GB, free: 2.945 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.1347, allocations: 128.8 kB / 0.66 GB, free: 2.801 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1347, allocations: 11.98 kB / 0.66 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1348, allocations: 4 kB / 0.66 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1349, allocations: 23.97 kB / 0.66 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1349, allocations: 11.94 kB / 0.66 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.135, allocations: 114 kB / 0.6601 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.135, allocations: 0 / 0.6601 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002534/0.1352, allocations: 67.98 kB / 0.6602 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.0001449/0.1354, allocations: 111.7 kB / 0.6603 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.1358, allocations: 311.9 kB / 0.6606 GB, free: 2.152 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1358, allocations: 112 / 0.6606 GB, free: 2.152 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.136, allocations: 175.7 kB / 0.6608 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.0002308/0.1363, allocations: 35.98 kB / 0.6608 GB, free: 1.945 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1375, allocations: 0.876 MB / 0.6617 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1378, allocations: 0.7488 MB / 0.6624 GB, free: 268 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.1379, allocations: 31.44 kB / 0.6624 GB, free: 236 kB / 0.4983 GB Notification: Performance of SimCode: time 2.51e-07/0.1379, allocations: 0 / 0.6624 GB, free: 236 kB / 0.4983 GB Notification: Performance of Templates: time 0.004237/0.1421, allocations: 2.961 MB / 0.6653 GB, free: 13.27 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/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