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.001608/0.001608, allocations: 114 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.001855/0.001855, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8307/0.8307, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.67 kB / 0.5718 GB, free: 39.15 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1161, allocations: 80.69 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.002554/0.1187, allocations: 1.467 MB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.119, allocations: 95.66 kB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.1191, allocations: 3.938 kB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1192, allocations: 7.922 kB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.1193, allocations: 63.7 kB / 0.6522 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.1196, allocations: 35.89 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008673/0.1205, allocations: 1.092 MB / 0.6533 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.1205, allocations: 8 kB / 0.6533 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.121, allocations: 399.5 kB / 0.6537 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.1218, allocations: 0.5146 MB / 0.6542 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.122, allocations: 60 kB / 0.6543 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1222, allocations: 64 kB / 0.6543 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.1225, allocations: 375.1 kB / 0.6547 GB, free: 7.938 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.1231, allocations: 390.6 kB / 0.6551 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.1237, allocations: 0.6578 MB / 0.6557 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1237, allocations: 0 / 0.6557 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1237, allocations: 0 / 0.6557 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.1237, allocations: 0 / 0.6557 GB, free: 6.895 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.00453/0.1283, allocations: 1.44 MB / 0.6571 GB, free: 5.398 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1283, allocations: 12.03 kB / 0.6571 GB, free: 5.387 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.1285, allocations: 94.7 kB / 0.6572 GB, free: 5.285 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.1287, allocations: 68.61 kB / 0.6573 GB, free: 5.219 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.1293, allocations: 355.6 kB / 0.6576 GB, free: 4.832 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.1294, allocations: 57.69 kB / 0.6577 GB, free: 4.777 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.1296, allocations: 104.2 kB / 0.6578 GB, free: 4.676 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.1312, allocations: 0.8772 MB / 0.6586 GB, free: 3.789 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1312, allocations: 7.922 kB / 0.6586 GB, free: 3.781 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.982e-05/0.1313, allocations: 27.92 kB / 0.6587 GB, free: 3.754 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.1313, allocations: 20 kB / 0.6587 GB, free: 3.734 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.1327, allocations: 0.7664 MB / 0.6594 GB, free: 2.969 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006505/0.1392, allocations: 4.314 MB / 0.6637 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.1408, allocations: 0.9799 MB / 0.6646 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/0.1418, allocations: 0.672 MB / 0.6653 GB, free: 12.47 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.613e-05/0.1419, allocations: 13 kB / 0.6653 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1419, allocations: 51.5 kB / 0.6653 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 2.956e-06/0.1419, allocations: 0 / 0.6653 GB, free: 12.4 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002928/0.1448, allocations: 1.656 MB / 0.6669 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1449, allocations: 68.39 kB / 0.667 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.145, allocations: 145.2 kB / 0.6672 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.699e-05/0.1451, allocations: 49.7 kB / 0.6672 GB, free: 10.45 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.1452, allocations: 158 kB / 0.6673 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.1455, allocations: 432.3 kB / 0.6678 GB, free: 9.867 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/0.1459, allocations: 227 kB / 0.668 GB, free: 9.641 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1461, allocations: 366.8 kB / 0.6683 GB, free: 9.273 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.1471, allocations: 0.5763 MB / 0.6689 GB, free: 8.695 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.1482, allocations: 0.6677 MB / 0.6695 GB, free: 8.023 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.1502, allocations: 1.266 MB / 0.6708 GB, free: 6.75 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1502, allocations: 4 kB / 0.6708 GB, free: 6.746 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002421/0.1527, allocations: 1.481 MB / 0.6722 GB, free: 5.258 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1527, allocations: 4 kB / 0.6722 GB, free: 5.254 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1527, allocations: 0 / 0.6722 GB, free: 5.254 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1527, allocations: 8 kB / 0.6722 GB, free: 5.246 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.1551, allocations: 0.5229 MB / 0.6728 GB, free: 4.723 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.1551, allocations: 8 kB / 0.6728 GB, free: 4.715 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.1559, allocations: 119.2 kB / 0.6729 GB, free: 4.598 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.76e-05/0.156, allocations: 40 kB / 0.6729 GB, free: 4.559 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.0003349/0.1564, allocations: 218.4 kB / 0.6731 GB, free: 4.336 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.1565, allocations: 47.64 kB / 0.6732 GB, free: 4.289 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.1569, allocations: 148 kB / 0.6733 GB, free: 4.145 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1569, allocations: 12 kB / 0.6733 GB, free: 4.133 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.1569, allocations: 3.984 kB / 0.6733 GB, free: 4.129 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1569, allocations: 3.984 kB / 0.6733 GB, free: 4.125 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.158, allocations: 0.7942 MB / 0.6741 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1581, allocations: 0 / 0.6741 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002937/0.161, allocations: 0.5346 MB / 0.6746 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.161, allocations: 4 kB / 0.6746 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.1612, allocations: 43.95 kB / 0.6747 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1612, allocations: 4 kB / 0.6747 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1612, allocations: 3.984 kB / 0.6747 GB, free: 2.688 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.1643, allocations: 1.968 MB / 0.6766 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1644, allocations: 128.6 kB / 0.6767 GB, free: 0.5586 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.1646, allocations: 43.97 kB / 0.6768 GB, free: 0.5156 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008217/0.1654, allocations: 51.88 kB / 0.6768 GB, free: 476 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.1656, allocations: 64.86 kB / 0.6769 GB, free: 412 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.1657, allocations: 27.98 kB / 0.6769 GB, free: 384 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.1658, allocations: 99.27 kB / 0.677 GB, free: 284 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1658, allocations: 0 / 0.677 GB, free: 284 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006938/0.1665, allocations: 307.9 kB / 0.6773 GB, free: 15.97 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.003395/0.1699, allocations: 2.563 MB / 0.6798 GB, free: 13.39 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.1721, 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.625e-06/0.1721, allocations: 0 / 0.6811 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.1731, 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.0007432/0.1739, allocations: 131.8 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.0143/0.1882, allocations: 11.1 MB / 0.6927 GB, free: 68 kB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.1887, allocations: 0.9143 MB / 0.6936 GB, free: 15.12 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001144/0.1899, allocations: 396.5 kB / 0.694 GB, free: 14.73 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/0.1904, allocations: 183.4 kB / 0.6942 GB, free: 14.55 MB / 0.5452 GB Notification: Performance of SimCode: time 2.214e-06/0.1904, allocations: 0 / 0.6942 GB, free: 14.55 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.2293, allocations: 17.5 MB / 0.7112 GB, free: 13.33 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.48, allocations: 19.89 kB / 0.7113 GB, free: 13.31 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