Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001484/0.001484, allocations: 113.4 kB / 17.75 MB, free: 5.332 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.001509/0.001509, allocations: 187 kB / 18.68 MB, free: 4.406 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.433/1.433, allocations: 222.9 MB / 242.4 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 1.018/1.018, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.73 kB / 0.573 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, 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.002197/0.1543, allocations: 1.386 MB / 0.6532 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000836/0.1552, allocations: 0.5107 MB / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.1552, allocations: 0 / 0.6537 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1554, allocations: 11.92 kB / 0.6537 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1557, allocations: 55.73 kB / 0.6537 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.1558, allocations: 39.88 kB / 0.6538 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.156, allocations: 191.5 kB / 0.654 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.1561, allocations: 16.11 kB / 0.654 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1562, allocations: 75.81 kB / 0.6541 GB, free: 9.289 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1564, allocations: 95.75 kB / 0.6541 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1565, allocations: 8 kB / 0.6542 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.922e-05/0.1566, allocations: 31.92 kB / 0.6542 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1567, allocations: 67.84 kB / 0.6542 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.595e-05/0.1568, allocations: 75.62 kB / 0.6543 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.157, allocations: 143.5 kB / 0.6545 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.157, allocations: 0 / 0.6545 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.422e-06/0.157, allocations: 0 / 0.6545 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.157, allocations: 0 / 0.6545 GB, free: 8.875 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.0008145/0.1578, allocations: 479.1 kB / 0.6549 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1579, allocations: 11.89 kB / 0.6549 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.1579, allocations: 12.84 kB / 0.6549 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1582, allocations: 222.7 kB / 0.6551 GB, free: 8.078 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1582, allocations: 8.234 kB / 0.6552 GB, free: 8.07 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.1582, allocations: 24 kB / 0.6552 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1585, allocations: 179.3 kB / 0.6554 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1585, allocations: 0 / 0.6554 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1586, allocations: 7.984 kB / 0.6554 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1586, allocations: 4 kB / 0.6554 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.1588, allocations: 144.6 kB / 0.6555 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.1592, allocations: 278.2 kB / 0.6558 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.1601, allocations: 366.7 kB / 0.6561 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1603, allocations: 120.8 kB / 0.6562 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.1605, allocations: 89.09 kB / 0.6563 GB, free: 6.801 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1605, allocations: 34.56 kB / 0.6563 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.1605, allocations: 4 kB / 0.6564 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of matching and sorting (n=28): time 0.0006653/0.1612, allocations: 378 kB / 0.6567 GB, free: 6.379 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1613, allocations: 55.41 kB / 0.6568 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1614, allocations: 129.7 kB / 0.6569 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1614, allocations: 33.7 kB / 0.6569 GB, free: 6.137 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1615, allocations: 88.7 kB / 0.657 GB, free: 6.047 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.1616, allocations: 114.4 kB / 0.6571 GB, free: 5.934 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.1617, allocations: 58.03 kB / 0.6572 GB, free: 5.867 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1618, allocations: 338.8 kB / 0.6575 GB, free: 5.527 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.162, allocations: 120.6 kB / 0.6576 GB, free: 5.41 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1622, allocations: 125.2 kB / 0.6577 GB, free: 5.289 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.1626, allocations: 278.9 kB / 0.658 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1626, allocations: 0 / 0.658 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004959/0.1631, allocations: 357.2 kB / 0.6583 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1631, allocations: 4 kB / 0.6583 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1631, allocations: 0 / 0.6583 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1631, allocations: 7.938 kB / 0.6583 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.1635, allocations: 79.91 kB / 0.6584 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1635, allocations: 0 / 0.6584 GB, free: 4.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1636, allocations: 19.83 kB / 0.6584 GB, free: 4.551 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.1636, allocations: 12 kB / 0.6585 GB, free: 4.539 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.0001147/0.1638, allocations: 138.6 kB / 0.6586 GB, free: 4.395 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1638, allocations: 15.81 kB / 0.6586 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006496/0.1644, allocations: 403.4 kB / 0.659 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1645, allocations: 0 / 0.659 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1645, allocations: 0 / 0.659 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.1646, allocations: 128.8 kB / 0.6591 GB, free: 3.828 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1646, allocations: 12 kB / 0.6591 GB, free: 3.816 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1648, allocations: 7.938 kB / 0.6591 GB, free: 3.809 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.1648, allocations: 27.91 kB / 0.6592 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001023/0.1658, allocations: 0.5005 MB / 0.6596 GB, free: 3.273 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00085/0.1667, allocations: 0.6993 MB / 0.6603 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002236/0.1669, allocations: 160.1 kB / 0.6605 GB, free: 2.398 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.167, allocations: 109.9 kB / 0.6606 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of Backend: time 2.8e-07/0.167, allocations: 0 / 0.6606 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0006515/0.1677, allocations: 277.7 kB / 0.6608 GB, free: 2.02 MB / 0.4983 GB Notification: Performance of SimCode: time 0.001271/0.169, allocations: 1.18 MB / 0.662 GB, free: 0.793 MB / 0.4983 GB Notification: Performance of Templates: time 0.007513/0.1765, allocations: 3.501 MB / 0.6654 GB, free: 13.32 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches