Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10",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.001839/0.001839, allocations: 107.8 kB / 17.06 MB, free: 5.828 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.002032/0.002032, allocations: 195.9 kB / 18 MB, free: 4.965 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9267/0.9267, allocations: 119.3 MB / 411.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 62.95 kB / 0.5718 GB, free: 39.21 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1185, allocations: 80.7 MB / 0.6506 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002477/0.121, allocations: 1.461 MB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.1213, allocations: 94.06 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.1214, allocations: 0 / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.1215, allocations: 23.84 kB / 0.6522 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.1216, allocations: 55.72 kB / 0.6522 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1218, allocations: 31.94 kB / 0.6522 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006071/0.1224, allocations: 0.5732 MB / 0.6528 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.1225, allocations: 8 kB / 0.6528 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.1227, allocations: 207.7 kB / 0.653 GB, free: 9.742 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.1232, allocations: 283.3 kB / 0.6533 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.387e-05/0.1233, allocations: 28 kB / 0.6533 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.1234, allocations: 32 kB / 0.6533 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.1236, allocations: 175.6 kB / 0.6535 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.1238, allocations: 199.2 kB / 0.6537 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.1242, allocations: 330.8 kB / 0.654 GB, free: 8.715 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1242, allocations: 4 kB / 0.654 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1242, allocations: 0 / 0.654 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.1242, allocations: 7.875 kB / 0.654 GB, free: 8.703 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002427/0.1267, allocations: 0.858 MB / 0.6549 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1267, allocations: 8.031 kB / 0.6549 GB, free: 7.781 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.301e-05/0.1268, allocations: 66.72 kB / 0.6549 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.1269, allocations: 32.8 kB / 0.655 GB, free: 7.676 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1273, allocations: 267.9 kB / 0.6552 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.1273, allocations: 28.94 kB / 0.6552 GB, free: 7.348 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.1274, allocations: 44.33 kB / 0.6553 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.1282, allocations: 445.1 kB / 0.6557 GB, free: 6.863 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1282, allocations: 11.88 kB / 0.6557 GB, free: 6.852 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.1283, allocations: 12 kB / 0.6557 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1283, allocations: 8 kB / 0.6557 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.129, allocations: 374 kB / 0.6561 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.1323, allocations: 2.152 MB / 0.6582 GB, free: 4.043 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.1332, allocations: 476 kB / 0.6587 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.1338, allocations: 330 kB / 0.659 GB, free: 3.242 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.246e-05/0.1338, allocations: 8.375 kB / 0.659 GB, free: 3.234 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1339, allocations: 39 kB / 0.659 GB, free: 3.188 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 2.405e-06/0.1339, allocations: 0 / 0.659 GB, free: 3.188 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001612/0.1355, allocations: 0.8086 MB / 0.6598 GB, free: 2.375 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1355, allocations: 55.84 kB / 0.6599 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1357, allocations: 133.8 kB / 0.66 GB, free: 2.168 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.1357, allocations: 45.7 kB / 0.66 GB, free: 2.117 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.1358, allocations: 121.2 kB / 0.6601 GB, free: 1.992 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.136, allocations: 218.1 kB / 0.6604 GB, free: 1.777 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.1362, allocations: 110.3 kB / 0.6605 GB, free: 1.664 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1364, allocations: 342.8 kB / 0.6608 GB, free: 1.32 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.1369, allocations: 281.1 kB / 0.6611 GB, free: 1.043 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.1375, allocations: 328.7 kB / 0.6614 GB, free: 0.7148 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1385, allocations: 0.6156 MB / 0.662 GB, free: 96 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1385, allocations: 0 / 0.662 GB, free: 96 kB / 0.4983 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001305/0.1398, allocations: 0.7273 MB / 0.6627 GB, free: 15.36 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1399, allocations: 8 kB / 0.6627 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1399, allocations: 0 / 0.6627 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.1399, allocations: 4 kB / 0.6627 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.1411, allocations: 259.8 kB / 0.6629 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1411, allocations: 4 kB / 0.6629 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.1415, allocations: 59.64 kB / 0.663 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.1415, allocations: 16 kB / 0.663 GB, free: 15.02 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 (77): * Single equations (assignments): 77 * 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.0001951/0.1417, allocations: 162.5 kB / 0.6632 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.1418, allocations: 31.78 kB / 0.6632 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.1421, allocations: 78.28 kB / 0.6633 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1421, allocations: 7.938 kB / 0.6633 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1421, allocations: 4 kB / 0.6633 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1421, allocations: 3.984 kB / 0.6633 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.1427, allocations: 473.5 kB / 0.6637 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1428, allocations: 7.938 kB / 0.6637 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.1441, allocations: 251.8 kB / 0.664 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.1442, allocations: 4 kB / 0.664 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.1442, allocations: 23.97 kB / 0.664 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1442, allocations: 0 / 0.664 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1443, allocations: 0 / 0.664 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.1459, allocations: 1.013 MB / 0.665 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.146, allocations: 112.8 kB / 0.6651 GB, free: 12.77 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.1461, allocations: 15.98 kB / 0.6651 GB, free: 12.75 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.1465, allocations: 27.97 kB / 0.6652 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1466, allocations: 24.39 kB / 0.6652 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.1467, allocations: 12 kB / 0.6652 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.1468, allocations: 102.8 kB / 0.6653 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1468, allocations: 4 kB / 0.6653 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004258/0.1472, allocations: 148 kB / 0.6654 GB, free: 12.45 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.002026/0.1492, allocations: 1.578 MB / 0.667 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.1504, allocations: 0.6387 MB / 0.6676 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1504, allocations: 0 / 0.6676 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.1509, allocations: 326.3 kB / 0.6679 GB, free: 9.883 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1514, allocations: 71.61 kB / 0.668 GB, free: 9.816 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007918/0.1593, allocations: 5.889 MB / 0.6737 GB, free: 3.844 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.1598, allocations: 0.7917 MB / 0.6745 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004959/0.1603, allocations: 178.8 kB / 0.6747 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.1606, allocations: 91.41 kB / 0.6748 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of SimCode: time 3.717e-06/0.1606, allocations: 0 / 0.6748 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.1944, allocations: 9.149 MB / 0.6837 GB, free: 9.84 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.552, allocations: 8.156 kB / 0.6837 GB, free: 9.832 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_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_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches