Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20",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.001658/0.001658, allocations: 112.1 kB / 17.06 MB, free: 5.957 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.001825/0.001825, allocations: 197.3 kB / 18 MB, free: 5.047 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.454/1.454, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9265/0.9265, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00313/0.00313, allocations: 70.48 kB / 0.5718 GB, free: 39.21 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1355, allocations: 80.7 MB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002417/0.1379, allocations: 1.478 MB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.1382, allocations: 87.72 kB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.1383, allocations: 4 kB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.634e-05/0.1384, allocations: 11.86 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1385, allocations: 55.72 kB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1387, allocations: 35.94 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1398, allocations: 1.096 MB / 0.6533 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.1399, allocations: 8 kB / 0.6533 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.1403, allocations: 395.5 kB / 0.6537 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.1411, allocations: 0.5224 MB / 0.6542 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.1413, allocations: 60 kB / 0.6543 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.1415, allocations: 60 kB / 0.6544 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.1418, allocations: 371.1 kB / 0.6547 GB, free: 7.938 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.1423, allocations: 386.6 kB / 0.6551 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.143, allocations: 0.6656 MB / 0.6557 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.143, allocations: 0 / 0.6557 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.313e-06/0.143, allocations: 0 / 0.6557 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.143, allocations: 0 / 0.6557 GB, free: 6.891 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00461/0.1476, allocations: 1.436 MB / 0.6571 GB, free: 5.398 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1476, allocations: 8.031 kB / 0.6571 GB, free: 5.391 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.1478, allocations: 102.7 kB / 0.6572 GB, free: 5.281 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1479, allocations: 64.61 kB / 0.6573 GB, free: 5.219 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.1485, allocations: 363.5 kB / 0.6576 GB, free: 4.824 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.1485, allocations: 53.69 kB / 0.6577 GB, free: 4.773 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.1487, allocations: 104.2 kB / 0.6578 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.1503, allocations: 0.8773 MB / 0.6586 GB, free: 3.785 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1503, allocations: 3.938 kB / 0.6587 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/0.1504, allocations: 24 kB / 0.6587 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1504, allocations: 15.94 kB / 0.6587 GB, free: 3.742 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.1518, allocations: 0.7702 MB / 0.6594 GB, free: 2.973 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006693/0.1585, allocations: 4.31 MB / 0.6637 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.1602, allocations: 0.9916 MB / 0.6646 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.1613, allocations: 0.672 MB / 0.6653 GB, free: 12.47 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.1614, allocations: 9 kB / 0.6653 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1615, allocations: 43.5 kB / 0.6653 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 3.076e-06/0.1615, allocations: 4 kB / 0.6653 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.003147/0.1646, allocations: 1.66 MB / 0.667 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1647, allocations: 60.41 kB / 0.667 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1648, allocations: 149.7 kB / 0.6672 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.764e-05/0.1649, allocations: 49.7 kB / 0.6672 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.165, allocations: 158 kB / 0.6673 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/0.1654, allocations: 436.3 kB / 0.6678 GB, free: 9.863 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.1658, allocations: 223 kB / 0.668 GB, free: 9.641 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.166, allocations: 366.8 kB / 0.6683 GB, free: 9.273 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.167, allocations: 0.5725 MB / 0.6689 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.1682, allocations: 0.6638 MB / 0.6695 GB, free: 8.031 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.1704, allocations: 1.262 MB / 0.6708 GB, free: 6.762 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1704, allocations: 4 kB / 0.6708 GB, free: 6.758 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002623/0.173, allocations: 1.48 MB / 0.6722 GB, free: 5.27 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.173, allocations: 11.98 kB / 0.6722 GB, free: 5.258 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1731, allocations: 0 / 0.6722 GB, free: 5.258 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.1731, allocations: 4 kB / 0.6722 GB, free: 5.254 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.1755, allocations: 0.5269 MB / 0.6727 GB, free: 4.727 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.1755, allocations: 8 kB / 0.6728 GB, free: 4.719 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.1763, allocations: 123.2 kB / 0.6729 GB, free: 4.598 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.1764, allocations: 32 kB / 0.6729 GB, free: 4.566 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (157): * Single equations (assignments): 157 * 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.0003326/0.1768, allocations: 218.4 kB / 0.6731 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1769, allocations: 43.7 kB / 0.6732 GB, free: 4.301 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.1774, allocations: 160 kB / 0.6733 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1774, allocations: 8 kB / 0.6733 GB, free: 4.137 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.1774, allocations: 4 kB / 0.6733 GB, free: 4.133 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.1774, allocations: 11.97 kB / 0.6733 GB, free: 4.121 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1786, allocations: 0.7903 MB / 0.6741 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1786, allocations: 0 / 0.6741 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/0.1816, allocations: 0.5307 MB / 0.6746 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1816, allocations: 8 kB / 0.6746 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.1818, allocations: 39.97 kB / 0.6747 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.1818, allocations: 7.984 kB / 0.6747 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1818, allocations: 3.938 kB / 0.6747 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.1852, allocations: 1.968 MB / 0.6766 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1853, allocations: 136.5 kB / 0.6767 GB, free: 0.5508 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.1854, allocations: 35.97 kB / 0.6768 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/0.1862, allocations: 51.95 kB / 0.6768 GB, free: 476 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.1865, allocations: 64.84 kB / 0.6769 GB, free: 412 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.1865, allocations: 23.98 kB / 0.6769 GB, free: 388 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.687e-05/0.1866, allocations: 98.5 kB / 0.677 GB, free: 292 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1866, allocations: 0 / 0.677 GB, free: 292 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006928/0.1873, allocations: 307.9 kB / 0.6773 GB, free: 15.98 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.003707/0.191, allocations: 2.567 MB / 0.6798 GB, free: 13.39 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.1935, allocations: 1.342 MB / 0.6811 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1935, allocations: 0 / 0.6811 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.1946, allocations: 0.6615 MB / 0.6817 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.1953, allocations: 139.5 kB / 0.6819 GB, free: 11.26 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.211, allocations: 11.1 MB / 0.6927 GB, free: 64 kB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.2117, allocations: 0.915 MB / 0.6936 GB, free: 15.12 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001175/0.2128, allocations: 388.6 kB / 0.694 GB, free: 14.73 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.2134, allocations: 187.4 kB / 0.6942 GB, free: 14.55 MB / 0.5452 GB Notification: Performance of SimCode: time 7.32e-07/0.2134, allocations: 0 / 0.6942 GB, free: 14.55 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.2615, allocations: 17.5 MB / 0.7113 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.1/9.362, allocations: 14.25 kB / 0.7113 GB, free: 13.32 MB / 0.5608 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.008 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches