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.001155/0.001154, allocations: 105.5 kB / 17.72 MB, free: 5.367 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.001167/0.001167, allocations: 188.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.336/1.336, 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.001347/0.001347, allocations: 52.3 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09093, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.2279/0.3189, allocations: 5.179 MB / 379.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.3217, allocations: 1.379 MB / 381.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008008/0.3225, allocations: 12.62 kB / 381.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.3231, allocations: 167.8 kB / 381.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009521/0.3241, allocations: 340.7 kB / 381.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.3249, allocations: 239.3 kB / 381.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.3265, allocations: 1.219 MB / 383.2 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/0.3272, allocations: 349 kB / 383.5 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006579/0.3278, allocations: 475.4 kB / 384 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/0.3286, allocations: 0.5309 MB / 384.5 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.3287, allocations: 107.9 kB / 384.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.3289, allocations: 109.9 kB / 384.7 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.3291, allocations: 235.3 kB / 384.9 MB, free: 8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.3296, allocations: 0.54 MB / 385.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.3308, allocations: 1.249 MB / 386.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3308, allocations: 1.031 kB / 386.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3308, allocations: 0 / 386.7 MB, free: 7.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.3308, allocations: 1.406 kB / 386.7 MB, free: 7.223 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.00258/0.3334, allocations: 1.391 MB / 388.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3335, allocations: 9.859 kB / 388.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.3336, allocations: 125.5 kB / 388.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.3338, allocations: 113.8 kB / 388.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/0.3348, allocations: 0.6034 MB / 389 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.335, allocations: 145.5 kB / 389.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.3351, allocations: 70.84 kB / 389.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3365, allocations: 0.9022 MB / 390.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3365, allocations: 1.844 kB / 390.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.3366, allocations: 32.56 kB / 390.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.3366, allocations: 15.38 kB / 390.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.338, allocations: 0.6316 MB / 390.8 MB, free: 4.797 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.003243/0.3413, allocations: 2.206 MB / 393 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.3429, allocations: 1.007 MB / 394 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/0.3437, allocations: 422.6 kB / 394.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.3437, allocations: 14.78 kB / 394.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3438, allocations: 51.19 kB / 394.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.305e-06/0.3438, allocations: 0 / 394.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.005174/0.349, allocations: 1.829 MB / 396.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.3491, allocations: 0.8266 MB / 397.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008222/0.35, allocations: 0.6648 MB / 397.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.35, allocations: 44.77 kB / 397.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.3503, allocations: 356.5 kB / 398.2 MB, free: 284 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.3505, allocations: 270.2 kB / 398.4 MB, free: 72 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.3507, allocations: 146.9 kB / 398.6 MB, free: 0 / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3509, allocations: 334 kB / 398.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.3516, allocations: 292.9 kB / 399.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.3527, allocations: 0.5564 MB / 399.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.3542, allocations: 0.7062 MB / 400.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3542, allocations: 0 / 400.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002736/0.357, allocations: 1.127 MB / 401.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.118e-05/0.357, allocations: 88.97 kB / 401.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3571, allocations: 1.562 kB / 401.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/0.3578, allocations: 235.1 kB / 401.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.3585, allocations: 144.3 kB / 402 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008094/0.3666, allocations: 6.933 MB / 409 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.368, allocations: 99.47 kB / 409.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.3681, allocations: 29.75 kB / 409.1 MB, free: 7.496 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.0005116/0.3686, allocations: 242.3 kB / 409.3 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.3688, allocations: 94.8 kB / 409.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.369, allocations: 95.59 kB / 409.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.369, allocations: 7.469 kB / 409.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.369, allocations: 1.906 kB / 409.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002587/0.3716, allocations: 1.269 MB / 410.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/0.3759, allocations: 1.984 MB / 412.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3759, allocations: 0 / 412.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.3766, allocations: 151.4 kB / 412.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005653/0.3772, allocations: 196.5 kB / 413.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.3773, allocations: 17.53 kB / 413.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006954/0.3842, allocations: 5.351 MB / 418.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3842, allocations: 0 / 418.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.3877, allocations: 1.44 MB / 419.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.3881, allocations: 250.5 kB / 420.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3883, allocations: 22.75 kB / 420.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.3889, allocations: 61.25 kB / 420.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.3891, allocations: 59.77 kB / 420.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.3892, allocations: 21.05 kB / 420.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006238/0.3898, allocations: 476.4 kB / 420.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3898, allocations: 0 / 420.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009314/0.3908, allocations: 291.2 kB / 421.1 MB, free: 14.24 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.00359/0.3944, allocations: 2.015 MB / 423.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.3968, allocations: 1.379 MB / 424.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3968, allocations: 12.06 kB / 424.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.3981, allocations: 0.7807 MB / 425.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3992, allocations: 243.6 kB / 425.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.4113, allocations: 7.795 MB / 433.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.4118, allocations: 0.9559 MB / 434.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004277/0.4123, allocations: 106.7 kB / 434.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.4127, allocations: 319.3 kB / 434.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4127, allocations: 0 / 434.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/0.5423, allocations: 27.26 MB / 461.9 MB, free: 5.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.73, allocations: 11.62 kB / 461.9 MB, free: 5.262 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 & /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","/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