Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.000778/0.000778, allocations: 94.75 kB / 17.3 MB, free: 6.391 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.0007988/0.0007988, allocations: 173.4 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004438, allocations: 12 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09192, allocations: 47.57 MB / 329 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00519/0.09716, allocations: 4.79 MB / 333.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.1002, allocations: 1.31 MB / 335.1 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.1007, allocations: 8 kB / 335.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1011, allocations: 139 kB / 335.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007646/0.1019, allocations: 289.7 kB / 335.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.1023, allocations: 211.8 kB / 335.8 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1036, allocations: 1.164 MB / 336.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.104, allocations: 310.9 kB / 337.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/0.1045, allocations: 414.4 kB / 337.7 MB, free: 11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.1051, allocations: 493.8 kB / 338.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.1052, allocations: 68 kB / 338.2 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1053, allocations: 72 kB / 338.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1055, allocations: 191.2 kB / 338.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.106, allocations: 0.5187 MB / 339 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009871/0.107, allocations: 1.175 MB / 340.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1071, allocations: 3.938 kB / 340.2 MB, free: 8.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1071, allocations: 0 / 340.2 MB, free: 8.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1071, allocations: 0 / 340.2 MB, free: 8.484 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002283/0.1094, allocations: 1.24 MB / 341.4 MB, free: 7.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.1094, allocations: 8.031 kB / 341.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.1096, allocations: 131.8 kB / 341.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.1098, allocations: 119.6 kB / 341.6 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/0.1108, allocations: 0.6026 MB / 342.3 MB, free: 6.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/0.1112, allocations: 178.9 kB / 342.4 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.1113, allocations: 60.38 kB / 342.5 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.1128, allocations: 0.9368 MB / 343.4 MB, free: 4.973 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.1129, allocations: 8 kB / 343.4 MB, free: 4.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.113, allocations: 28 kB / 343.5 MB, free: 4.938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.113, allocations: 12 kB / 343.5 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.1145, allocations: 0.6961 MB / 344.2 MB, free: 4.227 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.1179, allocations: 2.229 MB / 346.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.1197, allocations: 1.07 MB / 347.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/0.1205, allocations: 447.3 kB / 347.9 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.684e-05/0.1206, allocations: 16.62 kB / 347.9 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.1207, allocations: 51.22 kB / 348 MB, free: 248 kB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 2.595e-06/0.1207, allocations: 0 / 348 MB, free: 248 kB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.005287/0.126, allocations: 2.031 MB / 350 MB, free: 14.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003236/0.1263, allocations: 0.8272 MB / 350.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/0.1271, allocations: 0.6626 MB / 351.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/0.1272, allocations: 45.7 kB / 351.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.1275, allocations: 360.9 kB / 351.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.1277, allocations: 268 kB / 352.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.1278, allocations: 65.67 kB / 352.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1279, allocations: 334 kB / 352.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.1287, allocations: 317.8 kB / 352.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/0.1296, allocations: 0.5898 MB / 353.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.1311, allocations: 0.7599 MB / 354.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1312, allocations: 0 / 354.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002802/0.134, allocations: 1.243 MB / 355.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.134, allocations: 89.09 kB / 355.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1341, allocations: 0 / 355.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.1348, allocations: 247.2 kB / 355.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/0.1354, allocations: 159.8 kB / 355.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/0.1427, allocations: 6.499 MB / 362.4 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.1438, allocations: 139.2 kB / 362.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.1439, allocations: 27.92 kB / 362.6 MB, free: 0.5703 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003923/0.1443, allocations: 225.7 kB / 362.8 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.1444, allocations: 90.97 kB / 362.9 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.1446, allocations: 92.53 kB / 363 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1446, allocations: 8 kB / 363 MB, free: 148 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1446, allocations: 4.219 kB / 363 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002622/0.1472, allocations: 1.374 MB / 364.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.1512, allocations: 2.101 MB / 366.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1512, allocations: 8 kB / 366.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.152, allocations: 152 kB / 366.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005478/0.1525, allocations: 226.3 kB / 366.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.1526, allocations: 16 kB / 366.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/0.1586, allocations: 5.047 MB / 371.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1586, allocations: 3.984 kB / 371.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.1621, allocations: 1.589 MB / 373.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.1626, allocations: 243.9 kB / 373.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.1627, allocations: 20 kB / 373.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000676/0.1634, allocations: 71.84 kB / 373.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.1636, allocations: 68.55 kB / 373.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.1636, allocations: 16 kB / 373.9 MB, free: 4.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005885/0.1642, allocations: 479 kB / 374.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 0 / 374.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009018/0.1651, allocations: 295.6 kB / 374.7 MB, free: 3.836 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003832/0.169, allocations: 2.153 MB / 376.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.1715, allocations: 1.434 MB / 378.3 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.1715, allocations: 8 kB / 378.3 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1533/0.3248, allocations: 0.8178 MB / 379.1 MB, free: 52.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.326, allocations: 233.3 kB / 379.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.3396, allocations: 8.96 MB / 388.3 MB, free: 48.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3401, allocations: 0.9601 MB / 389.2 MB, free: 48.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005242/0.3406, allocations: 105.2 kB / 389.3 MB, free: 48.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.341, allocations: 316.7 kB / 389.6 MB, free: 47.82 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.341, allocations: 0 / 389.6 MB, free: 47.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.376, allocations: 24.51 MB / 414.2 MB, free: 28.75 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.3762, allocations: 252.2 kB / 414.4 MB, free: 28.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/2.882, allocations: 0 / 414.4 MB, free: 28.48 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches