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.00112/0.00112, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.0009902/0.00099, allocations: 190 kB / 18.07 MB, free: 5.414 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.238/1.238, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.00116/0.00116, allocations: 48.25 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08547, allocations: 46.63 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005814/0.09134, allocations: 5.195 MB / 331.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.09381, allocations: 1.38 MB / 333.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.09447, allocations: 12 kB / 333.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.09498, allocations: 135 kB / 333.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007947/0.09579, allocations: 293.7 kB / 333.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.09627, allocations: 207.8 kB / 333.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.09743, allocations: 1.16 MB / 335.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.09791, allocations: 314.9 kB / 335.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.09838, allocations: 434.3 kB / 335.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.09887, allocations: 0.4978 MB / 336.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.099, allocations: 76 kB / 336.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.09917, allocations: 80 kB / 336.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.09934, allocations: 199.2 kB / 336.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.09976, allocations: 0.517 MB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.1007, allocations: 1.207 MB / 338.4 MB, free: 9.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1007, allocations: 0 / 338.4 MB, free: 9.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1007, allocations: 0 / 338.4 MB, free: 9.043 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1007, allocations: 0 / 338.4 MB, free: 9.043 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.002416/0.1032, allocations: 1.395 MB / 339.8 MB, free: 7.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1032, allocations: 12.03 kB / 339.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.1034, allocations: 123.8 kB / 339.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.1036, allocations: 115.7 kB / 340 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008579/0.1045, allocations: 0.5948 MB / 340.6 MB, free: 6.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.1048, allocations: 170.9 kB / 340.8 MB, free: 6.496 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1049, allocations: 64.38 kB / 340.8 MB, free: 6.434 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.1064, allocations: 0.9172 MB / 341.7 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.1064, allocations: 3.984 kB / 341.7 MB, free: 5.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.1065, allocations: 32 kB / 341.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.1065, allocations: 12 kB / 341.8 MB, free: 5.367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.108, allocations: 0.657 MB / 342.4 MB, free: 4.707 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.003542/0.1115, allocations: 2.221 MB / 344.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.1134, allocations: 1.017 MB / 345.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008242/0.1142, allocations: 431.4 kB / 346.1 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.286e-05/0.1143, allocations: 12.64 kB / 346.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1143, allocations: 51.16 kB / 346.2 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=77): time 3.226e-06/0.1143, allocations: 4 kB / 346.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of matching and sorting (n=77): time 0.00525/0.1196, allocations: 1.875 MB / 348 MB, free: 14.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004724/0.1201, allocations: 0.8195 MB / 348.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.121, allocations: 0.6647 MB / 349.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.1211, allocations: 49.64 kB / 349.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.1214, allocations: 360.9 kB / 349.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.1217, allocations: 264 kB / 350.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.1219, allocations: 154.6 kB / 350.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1221, allocations: 334 kB / 350.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.1228, allocations: 297.8 kB / 351 MB, free: 11.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.1238, allocations: 0.5703 MB / 351.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.1252, allocations: 0.7285 MB / 352.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1253, allocations: 0 / 352.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002776/0.128, allocations: 1.149 MB / 353.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.1281, allocations: 89.09 kB / 353.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.1282, allocations: 7.984 kB / 353.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007266/0.1289, allocations: 235.2 kB / 353.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.1296, allocations: 155.8 kB / 353.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007369/0.137, allocations: 6.37 MB / 360.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.138, allocations: 115.3 kB / 360.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.1381, allocations: 28 kB / 360.4 MB, free: 1.527 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.0003711/0.1385, allocations: 221.7 kB / 360.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.1386, allocations: 90.97 kB / 360.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.1388, allocations: 100.5 kB / 360.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1389, allocations: 12 kB / 360.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1389, allocations: 0 / 360.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002711/0.1416, allocations: 1.284 MB / 362.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.1455, allocations: 2.035 MB / 364.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1455, allocations: 0 / 364.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.1462, allocations: 156 kB / 364.3 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005333/0.1467, allocations: 194.5 kB / 364.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.1468, allocations: 23.98 kB / 364.5 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006041/0.1529, allocations: 4.918 MB / 369.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1529, allocations: 0 / 369.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/0.1564, allocations: 1.484 MB / 370.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/0.1568, allocations: 251.8 kB / 371.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1569, allocations: 20 kB / 371.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/0.1576, allocations: 59.94 kB / 371.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.1578, allocations: 60.56 kB / 371.3 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.1579, allocations: 23.98 kB / 371.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006164/0.1585, allocations: 479 kB / 371.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1585, allocations: 0 / 371.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009556/0.1595, allocations: 295.6 kB / 372.1 MB, free: 5.211 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.003742/0.1632, allocations: 2.048 MB / 374.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.1656, allocations: 1.391 MB / 375.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.1656, allocations: 8.125 kB / 375.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.167, allocations: 0.7886 MB / 376.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.1682, allocations: 230.7 kB / 376.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1499/0.3181, allocations: 8.68 MB / 385.2 MB, free: 50.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3187, allocations: 0.9587 MB / 386.2 MB, free: 49.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005684/0.3193, allocations: 110.1 kB / 386.3 MB, free: 49.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.3197, allocations: 312.6 kB / 386.6 MB, free: 49.1 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3197, allocations: 0 / 386.6 MB, free: 49.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.3596, allocations: 24.75 MB / 411.3 MB, free: 31 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.3598, allocations: 248.7 kB / 411.6 MB, free: 30.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.026, allocations: 0 / 411.6 MB, free: 30.74 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