Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001095, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 202.4 kB / 18.57 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.45 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 50.52 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.00639/0.1217, allocations: 5.208 MB / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.1249, allocations: 1.359 MB / 364.1 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007085/0.1257, allocations: 8 kB / 364.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.1263, allocations: 170.5 kB / 364.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.1275, allocations: 333.1 kB / 364.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.1282, allocations: 243.6 kB / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.1298, allocations: 1.223 MB / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006943/0.1306, allocations: 350 kB / 366.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008515/0.1314, allocations: 470.3 kB / 366.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.1322, allocations: 0.5291 MB / 367.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.1325, allocations: 108 kB / 367.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.1328, allocations: 112 kB / 367.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.1331, allocations: 227.2 kB / 367.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007443/0.1338, allocations: 0.5405 MB / 368.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1351, allocations: 1.234 MB / 369.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.1351, allocations: 3.984 kB / 369.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1351, allocations: 3.938 kB / 369.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.1352, allocations: 0 / 369.6 MB, free: 1.891 MB / 302.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.003121/0.1383, allocations: 1.391 MB / 371 MB, free: 436 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.1384, allocations: 12.03 kB / 371.1 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.1386, allocations: 115.9 kB / 371.2 MB, free: 300 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.1388, allocations: 115.6 kB / 371.3 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2004/0.3391, allocations: 0.5933 MB / 371.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.3395, allocations: 173.3 kB / 372 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3396, allocations: 64.81 kB / 372.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3413, allocations: 0.9108 MB / 373 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3414, allocations: 1.781 kB / 373 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.3415, allocations: 31.97 kB / 373 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.3415, allocations: 19.77 kB / 373.1 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.3432, allocations: 0.6619 MB / 373.7 MB, free: 19.46 MB / 302.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.0036/0.3468, allocations: 2.224 MB / 376 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.3485, allocations: 1.016 MB / 377 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009015/0.3494, allocations: 432.7 kB / 377.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.237e-05/0.3494, allocations: 16.22 kB / 377.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3495, allocations: 51.67 kB / 377.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=77): time 2.504e-06/0.3495, allocations: 0 / 377.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=77): time 0.005453/0.3549, allocations: 1.869 MB / 379.3 MB, free: 16.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.3552, allocations: 0.8229 MB / 380.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008675/0.3561, allocations: 0.6694 MB / 380.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/0.3562, allocations: 46.14 kB / 380.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.3565, allocations: 362.7 kB / 381.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.3567, allocations: 263.2 kB / 381.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.3569, allocations: 150.8 kB / 381.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.357, allocations: 337 kB / 381.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/0.3578, allocations: 291.5 kB / 382.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.3588, allocations: 0.5811 MB / 382.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.3603, allocations: 0.7273 MB / 383.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3603, allocations: 1.188 kB / 383.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003127/0.3634, allocations: 1.153 MB / 384.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.3635, allocations: 91.14 kB / 384.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3635, allocations: 1.703 kB / 384.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007592/0.3643, allocations: 230 kB / 385 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.3651, allocations: 161.6 kB / 385.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007456/0.3725, allocations: 6.936 MB / 392.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3736, allocations: 105.5 kB / 392.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.3737, allocations: 30.2 kB / 392.2 MB, free: 6.441 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.0004372/0.3741, allocations: 224.1 kB / 392.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3743, allocations: 92.52 kB / 392.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.3745, allocations: 97.2 kB / 392.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3745, allocations: 7.75 kB / 392.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.3745, allocations: 1.406 kB / 392.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00265/0.3772, allocations: 1.29 MB / 393.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.3812, allocations: 2.022 MB / 396 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.3813, allocations: 1.281 kB / 396 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.382, allocations: 154 kB / 396.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/0.3826, allocations: 199.4 kB / 396.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.3826, allocations: 17.16 kB / 396.3 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005898/0.3885, allocations: 5.352 MB / 401.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3886, allocations: 4.062 kB / 401.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.3922, allocations: 1.485 MB / 403.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.3928, allocations: 247.1 kB / 403.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.3929, allocations: 26.59 kB / 403.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/0.3937, allocations: 63.59 kB / 403.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.3939, allocations: 71.56 kB / 403.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.3939, allocations: 17.59 kB / 403.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000675/0.3946, allocations: 480.4 kB / 404.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3946, allocations: 0 / 404.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009821/0.3956, allocations: 294.8 kB / 404.3 MB, free: 13.4 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.003538/0.3991, allocations: 2.052 MB / 406.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002804/0.402, allocations: 1.435 MB / 407.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.402, allocations: 3.281 kB / 407.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.4034, allocations: 0.7926 MB / 408.6 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.4045, allocations: 245.8 kB / 408.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.4177, allocations: 8.399 MB / 417.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.4183, allocations: 0.9598 MB / 418.2 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005011/0.4188, allocations: 106.7 kB / 418.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.4192, allocations: 323.3 kB / 418.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.394e-06/0.4192, allocations: 0 / 418.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0927/0.5119, allocations: 26.29 MB / 444.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.12, allocations: 11.53 kB / 444.9 MB, free: 5.75 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches