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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 113.3 kB / 17.07 MB, free: 5.969 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.001215/0.001215, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9243/0.9243, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 73.75 kB / 0.5719 GB, free: 39.14 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1444, allocations: 80.68 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.00261/0.1471, allocations: 1.386 MB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.1481, allocations: 0.5224 MB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.1482, allocations: 0 / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.199e-05/0.1483, allocations: 3.938 kB / 0.6525 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.1486, allocations: 63.72 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.1488, allocations: 39.84 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.149, allocations: 195.5 kB / 0.6528 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.1491, allocations: 4.188 kB / 0.6528 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1493, allocations: 79.81 kB / 0.6529 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1495, allocations: 99.69 kB / 0.653 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.1495, allocations: 8 kB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1497, allocations: 31.97 kB / 0.653 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1498, allocations: 67.84 kB / 0.6531 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.1499, allocations: 67.66 kB / 0.6532 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1501, allocations: 143.2 kB / 0.6533 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1501, allocations: 0 / 0.6533 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1501, allocations: 0 / 0.6533 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.1501, allocations: 0 / 0.6533 GB, free: 9.371 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.0008586/0.151, allocations: 475.2 kB / 0.6538 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.151, allocations: 11.89 kB / 0.6538 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.1511, allocations: 46.73 kB / 0.6538 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.1511, allocations: 12.84 kB / 0.6538 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1514, allocations: 219.5 kB / 0.654 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1514, allocations: 12.23 kB / 0.654 GB, free: 8.512 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.1515, allocations: 12 kB / 0.6541 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1518, allocations: 175.4 kB / 0.6542 GB, free: 8.324 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1518, allocations: 0 / 0.6542 GB, free: 8.324 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1518, allocations: 4 kB / 0.6542 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1518, allocations: 4 kB / 0.6542 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1521, allocations: 152.6 kB / 0.6544 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1524, allocations: 298 kB / 0.6547 GB, free: 7.828 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009408/0.1533, allocations: 350.9 kB / 0.655 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.1535, allocations: 124.7 kB / 0.6551 GB, free: 7.352 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.1537, allocations: 93.08 kB / 0.6552 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1538, allocations: 38.5 kB / 0.6552 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.1538, allocations: 0 / 0.6552 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006191/0.1544, allocations: 382 kB / 0.6556 GB, free: 6.816 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1544, allocations: 55.41 kB / 0.6557 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.1545, allocations: 128.8 kB / 0.6558 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1546, allocations: 33.7 kB / 0.6558 GB, free: 6.578 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.1546, allocations: 88.7 kB / 0.6559 GB, free: 6.488 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.81e-05/0.1547, allocations: 110.5 kB / 0.656 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.1548, allocations: 58.03 kB / 0.6561 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1549, allocations: 338.8 kB / 0.6564 GB, free: 5.973 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.1551, allocations: 124.5 kB / 0.6565 GB, free: 5.852 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1553, allocations: 129.2 kB / 0.6566 GB, free: 5.727 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.1557, allocations: 279 kB / 0.6569 GB, free: 5.453 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1557, allocations: 4 kB / 0.6569 GB, free: 5.449 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004881/0.1562, allocations: 345.2 kB / 0.6572 GB, free: 5.105 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1562, allocations: 4 kB / 0.6572 GB, free: 5.102 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1562, allocations: 4 kB / 0.6572 GB, free: 5.098 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1563, allocations: 0 / 0.6572 GB, free: 5.098 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.1566, allocations: 79.89 kB / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1566, allocations: 0 / 0.6573 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1567, allocations: 23.75 kB / 0.6573 GB, free: 4.996 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.1567, allocations: 12 kB / 0.6573 GB, free: 4.984 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.0001151/0.1568, allocations: 139.1 kB / 0.6575 GB, free: 4.84 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1569, allocations: 11.91 kB / 0.6575 GB, free: 4.828 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.1575, allocations: 407.3 kB / 0.6579 GB, free: 4.418 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1575, allocations: 4 kB / 0.6579 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1576, allocations: 4 kB / 0.6579 GB, free: 4.41 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1576, allocations: 7.984 kB / 0.6579 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.1579, allocations: 317.2 kB / 0.6582 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1579, allocations: 0 / 0.6582 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.1583, allocations: 83.91 kB / 0.6583 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1583, allocations: 0 / 0.6583 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.1583, allocations: 15.98 kB / 0.6583 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1583, allocations: 0 / 0.6583 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1583, allocations: 4 kB / 0.6583 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.1591, allocations: 0.5373 MB / 0.6588 GB, free: 3.383 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.1592, allocations: 128.8 kB / 0.6589 GB, free: 3.238 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.1593, allocations: 8 kB / 0.6589 GB, free: 3.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1594, allocations: 8 kB / 0.6589 GB, free: 3.223 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.1594, allocations: 27.95 kB / 0.659 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1595, allocations: 8 kB / 0.659 GB, free: 3.188 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.1595, allocations: 99.27 kB / 0.6591 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1595, allocations: 7.938 kB / 0.6591 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002663/0.1598, allocations: 64 kB / 0.6591 GB, free: 3.02 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.0009902/0.1608, allocations: 1.075 MB / 0.6602 GB, free: 1.918 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.1613, allocations: 303.7 kB / 0.6605 GB, free: 1.621 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1613, allocations: 7.938 kB / 0.6605 GB, free: 1.613 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.1615, allocations: 168 kB / 0.6607 GB, free: 1.449 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1618, allocations: 33.66 kB / 0.6607 GB, free: 1.418 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.165, allocations: 2.879 MB / 0.6635 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1653, allocations: 0.7449 MB / 0.6642 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.1655, allocations: 85.86 kB / 0.6643 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.1656, allocations: 71.41 kB / 0.6644 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of SimCode: time 4.51e-07/0.1656, allocations: 0 / 0.6644 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1917, allocations: 5.614 MB / 0.6699 GB, free: 8.062 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.022, allocations: 18.58 kB / 0.6699 GB, free: 8.047 MB / 0.5139 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > 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) "" Variables in the reference: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] Variables in the result:Cd,Cu[1],Cu[2],Cu[3],Cu[4],Cu[5],Gh,Gu,Kp,N,Qd,Qh[1],Qh[2],Qh[3],Qh[4],Qh[5],Qmax,Que[1],Que[2],Que[3],Que[4],Que[5],Td,Td0,Teps,Text,Tu0,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],a,b,der(Td),der(Tu[1]),der(Tu[2]),der(Tu[3]),der(Tu[4]),der(Tu[5]),der(x[1]),der(x[2]),der(x[3]),der(x[4]),der(x[5]),time,u[1],u[2],u[3],u[4],u[5],x[1],x[2],x[3],x[4],x[5]