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.00149/0.00149, allocations: 109 kB / 17.06 MB, free: 5.961 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.00146/0.00146, allocations: 200 kB / 18 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8914/0.8914, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.05 kB / 0.5718 GB, free: 39.16 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1242, allocations: 80.69 MB / 0.6506 GB, free: 12.13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002328/0.1265, allocations: 1.464 MB / 0.652 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.1268, allocations: 98.05 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.1268, allocations: 0 / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.127, allocations: 19.84 kB / 0.6522 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1271, allocations: 63.72 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.1273, allocations: 27.94 kB / 0.6522 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000556/0.1278, allocations: 0.5732 MB / 0.6528 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.1279, allocations: 8 kB / 0.6528 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1281, allocations: 203.7 kB / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.1285, allocations: 287.3 kB / 0.6533 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.1286, allocations: 28 kB / 0.6533 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.36e-05/0.1287, allocations: 32 kB / 0.6533 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1289, allocations: 179.6 kB / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.1291, allocations: 199.2 kB / 0.6537 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.1294, allocations: 326.8 kB / 0.654 GB, free: 8.645 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1295, allocations: 4 kB / 0.654 GB, free: 8.641 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1295, allocations: 0 / 0.654 GB, free: 8.641 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.1295, allocations: 0 / 0.654 GB, free: 8.641 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.002222/0.1317, allocations: 0.8619 MB / 0.6549 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1317, allocations: 8.031 kB / 0.6549 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.877e-05/0.1318, allocations: 66.72 kB / 0.6549 GB, free: 7.641 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1319, allocations: 32.8 kB / 0.655 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1322, allocations: 263.9 kB / 0.6552 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.1323, allocations: 28.94 kB / 0.6552 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.1324, allocations: 56.31 kB / 0.6553 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.1331, allocations: 441.1 kB / 0.6557 GB, free: 6.793 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1331, allocations: 3.938 kB / 0.6557 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.1332, allocations: 12 kB / 0.6557 GB, free: 6.777 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1332, allocations: 8 kB / 0.6557 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.1338, allocations: 377.9 kB / 0.6561 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.1368, allocations: 2.152 MB / 0.6582 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.1377, allocations: 476.1 kB / 0.6587 GB, free: 3.504 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.1382, allocations: 326 kB / 0.659 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.1382, allocations: 12.31 kB / 0.659 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1383, allocations: 39 kB / 0.659 GB, free: 3.121 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.472e-06/0.1383, allocations: 0 / 0.659 GB, free: 3.121 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001467/0.1398, allocations: 0.8086 MB / 0.6598 GB, free: 2.309 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1398, allocations: 59.84 kB / 0.6599 GB, free: 2.238 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1399, allocations: 133.8 kB / 0.66 GB, free: 2.098 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.14, allocations: 37.7 kB / 0.66 GB, free: 2.055 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.1401, allocations: 125.2 kB / 0.6601 GB, free: 1.926 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.1402, allocations: 214.2 kB / 0.6603 GB, free: 1.715 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.1404, allocations: 114.3 kB / 0.6605 GB, free: 1.598 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1406, allocations: 342.8 kB / 0.6608 GB, free: 1.254 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.141, allocations: 281.1 kB / 0.6611 GB, free: 0.9766 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.1415, allocations: 336.7 kB / 0.6614 GB, free: 0.6406 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.1425, allocations: 0.6077 MB / 0.662 GB, free: 28 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1425, allocations: 0 / 0.662 GB, free: 28 kB / 0.4983 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001196/0.1437, allocations: 0.7352 MB / 0.6627 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1437, allocations: 4 kB / 0.6627 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1437, allocations: 4.031 kB / 0.6627 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1438, allocations: 4 kB / 0.6627 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.1448, allocations: 255.7 kB / 0.6629 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1448, allocations: 4 kB / 0.6629 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.1452, allocations: 59.64 kB / 0.663 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.1452, allocations: 16 kB / 0.663 GB, free: 14.95 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.0001762/0.1454, allocations: 166.5 kB / 0.6632 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.1455, allocations: 23.8 kB / 0.6632 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.1457, allocations: 82.28 kB / 0.6633 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1457, allocations: 4 kB / 0.6633 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1457, allocations: 0 / 0.6633 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1457, allocations: 3.984 kB / 0.6633 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.1463, allocations: 473.5 kB / 0.6637 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1463, allocations: 3.938 kB / 0.6637 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.1476, allocations: 255.8 kB / 0.664 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1476, allocations: 4 kB / 0.664 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.1477, allocations: 23.97 kB / 0.664 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1477, allocations: 4 kB / 0.664 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1477, allocations: 4 kB / 0.664 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.1492, allocations: 1.006 MB / 0.665 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1493, allocations: 108.8 kB / 0.6651 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.1494, allocations: 19.98 kB / 0.6651 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.1498, allocations: 23.97 kB / 0.6651 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1499, allocations: 28.39 kB / 0.6652 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.1499, allocations: 16 kB / 0.6652 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.15, allocations: 98.5 kB / 0.6653 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.15, allocations: 0 / 0.6653 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003738/0.1504, allocations: 152 kB / 0.6654 GB, free: 12.38 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.001837/0.1522, allocations: 1.578 MB / 0.667 GB, free: 10.78 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.1532, allocations: 0.6387 MB / 0.6676 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1533, allocations: 3.938 kB / 0.6676 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.1537, allocations: 322.3 kB / 0.6679 GB, free: 9.82 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.1542, allocations: 67.67 kB / 0.668 GB, free: 9.758 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/0.1617, allocations: 5.893 MB / 0.6737 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1621, allocations: 0.7878 MB / 0.6745 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004405/0.1626, allocations: 182.8 kB / 0.6747 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.1628, allocations: 95.41 kB / 0.6748 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of SimCode: time 4.21e-07/0.1628, allocations: 0 / 0.6748 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4066/0.5694, allocations: 9.152 MB / 0.6837 GB, free: 9.773 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.296, allocations: 15 kB / 0.6837 GB, free: 9.762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 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.mat","/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