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.001506/0.001506, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001825/0.001826, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.469/1.469, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002042/0.002042, allocations: 59.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.2376/0.3421, allocations: 5.18 MB / 379.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.3449, allocations: 1.378 MB / 381.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.3454, allocations: 11.91 kB / 381.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.3461, allocations: 168.2 kB / 381.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.3469, allocations: 350.6 kB / 381.7 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.3476, allocations: 241.1 kB / 382 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.3489, allocations: 1.227 MB / 383.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.3496, allocations: 346 kB / 383.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/0.3502, allocations: 476.7 kB / 384 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005437/0.3508, allocations: 0.5302 MB / 384.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3509, allocations: 108.8 kB / 384.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.3511, allocations: 111.2 kB / 384.7 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.3513, allocations: 231.5 kB / 385 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.3517, allocations: 0.5405 MB / 385.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.353, allocations: 1.257 MB / 386.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.353, allocations: 0 / 386.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.353, allocations: 0 / 386.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.353, allocations: 1.094 kB / 386.8 MB, free: 7.469 MB / 318.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.002382/0.3554, allocations: 1.415 MB / 388.2 MB, free: 6.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3555, allocations: 9.75 kB / 388.2 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.3557, allocations: 126.4 kB / 388.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.3559, allocations: 126.6 kB / 388.4 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.3568, allocations: 0.601 MB / 389 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.3569, allocations: 148.6 kB / 389.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.3571, allocations: 67.25 kB / 389.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.3584, allocations: 0.9059 MB / 390.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3585, allocations: 5.469 kB / 390.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.3585, allocations: 28.91 kB / 390.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3586, allocations: 14.31 kB / 390.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.36, allocations: 0.6359 MB / 390.8 MB, free: 5.004 MB / 318.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.003218/0.3632, allocations: 2.211 MB / 393 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3648, allocations: 1.006 MB / 394 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.3656, allocations: 414.3 kB / 394.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.3657, allocations: 18.28 kB / 394.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3657, allocations: 55.66 kB / 394.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.505e-06/0.3657, allocations: 0 / 394.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004889/0.3706, allocations: 1.832 MB / 396.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.3708, allocations: 0.8236 MB / 397.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.3716, allocations: 0.6684 MB / 397.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.3716, allocations: 45.95 kB / 397.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.3719, allocations: 357 kB / 398.2 MB, free: 488 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.372, allocations: 286.5 kB / 398.5 MB, free: 260 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.3723, allocations: 148 kB / 398.7 MB, free: 184 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3724, allocations: 334.6 kB / 399 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006626/0.373, allocations: 279.9 kB / 399.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008906/0.3739, allocations: 0.5655 MB / 399.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3753, allocations: 0.7067 MB / 400.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3754, allocations: 1.281 kB / 400.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002725/0.3781, allocations: 1.133 MB / 401.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.3782, allocations: 84.58 kB / 401.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3782, allocations: 1.344 kB / 401.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.3789, allocations: 236.2 kB / 402 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.3796, allocations: 144.1 kB / 402.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007748/0.3874, allocations: 6.941 MB / 409.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.3885, allocations: 107.8 kB / 409.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.3885, allocations: 30.27 kB / 409.2 MB, free: 7.625 MB / 334.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.000487/0.389, allocations: 230.4 kB / 409.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.3893, allocations: 100.1 kB / 409.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.3895, allocations: 95.88 kB / 409.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3895, allocations: 6.656 kB / 409.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.3895, allocations: 0.9375 kB / 409.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00264/0.3921, allocations: 1.272 MB / 410.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004264/0.3964, allocations: 1.99 MB / 412.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3965, allocations: 4.875 kB / 412.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.3972, allocations: 146.2 kB / 413 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/0.3977, allocations: 196.5 kB / 413.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.3978, allocations: 12.88 kB / 413.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/0.4042, allocations: 5.358 MB / 418.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4043, allocations: 3.938 kB / 418.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.4077, allocations: 1.446 MB / 420 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/0.4083, allocations: 251.4 kB / 420.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4084, allocations: 18.66 kB / 420.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.4092, allocations: 61.31 kB / 420.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.4093, allocations: 58.83 kB / 420.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.4094, allocations: 22.42 kB / 420.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006551/0.4101, allocations: 475.5 kB / 420.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4101, allocations: 1.312 kB / 420.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000957/0.411, allocations: 289.7 kB / 421.2 MB, free: 14.36 MB / 350.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.003536/0.4146, allocations: 2.019 MB / 423.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.4168, allocations: 1.378 MB / 424.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4168, allocations: 4.125 kB / 424.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.4182, allocations: 0.7846 MB / 425.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4193, allocations: 252.7 kB / 425.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.4323, allocations: 7.823 MB / 433.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.4329, allocations: 0.9598 MB / 434.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005059/0.4334, allocations: 102.7 kB / 434.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.4339, allocations: 323.3 kB / 434.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of SimCode: time 2.395e-06/0.4339, allocations: 0 / 434.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/0.5138, allocations: 26.6 MB / 461.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.51, allocations: 19.56 kB / 461.4 MB, free: 5.918 MB / 382.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches