Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.001489/0.001489, allocations: 109.8 kB / 17.06 MB, free: 5.977 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.001498/0.001498, allocations: 197.3 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2482, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006624/0.2549, allocations: 4.942 MB / 405.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.2576, allocations: 1.277 MB / 406.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.2579, allocations: 11.94 kB / 406.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.2584, allocations: 170.5 kB / 406.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006193/0.259, allocations: 321.2 kB / 406.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.2595, allocations: 219.7 kB / 407.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.2607, allocations: 1.167 MB / 408.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004627/0.2612, allocations: 326 kB / 408.6 MB, free: 364 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.2617, allocations: 442.5 kB / 409.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/0.2623, allocations: 0.4979 MB / 409.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.2625, allocations: 108 kB / 409.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.2627, allocations: 104 kB / 409.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.2629, allocations: 223.2 kB / 410 MB, free: 15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.2634, allocations: 0.5133 MB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2646, allocations: 1.174 MB / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2646, allocations: 3.938 kB / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-05/0.2647, allocations: 4 kB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2647, allocations: 3.938 kB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002366/0.267, allocations: 1.34 MB / 413 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2671, allocations: 12.03 kB / 413.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.2673, allocations: 123.8 kB / 413.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.2675, allocations: 116.3 kB / 413.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/0.2683, allocations: 0.5558 MB / 413.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.2686, allocations: 150.9 kB / 414 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.853e-05/0.2687, allocations: 60.38 kB / 414 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.2701, allocations: 0.8665 MB / 414.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2701, allocations: 0 / 414.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.2702, allocations: 32 kB / 414.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.2702, allocations: 19.94 kB / 415 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.2715, allocations: 0.5634 MB / 415.5 MB, free: 9.223 MB / 334.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.003533/0.275, allocations: 2.139 MB / 417.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.277, allocations: 0.9635 MB / 418.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.2777, allocations: 371 kB / 419 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/0.2778, allocations: 20.7 kB / 419 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.2778, allocations: 56.8 kB / 419.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.315e-06/0.2778, allocations: 4 kB / 419.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.0049/0.2827, allocations: 1.731 MB / 420.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004658/0.2832, allocations: 0.8234 MB / 421.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.284, allocations: 0.641 MB / 422.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-05/0.2841, allocations: 45.7 kB / 422.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.2844, allocations: 341.4 kB / 422.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.2847, allocations: 273.6 kB / 422.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.2849, allocations: 146.7 kB / 423.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.2851, allocations: 390.7 kB / 423.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.2857, allocations: 241.9 kB / 423.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008431/0.2866, allocations: 0.5234 MB / 424.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.2878, allocations: 0.6388 MB / 424.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2878, allocations: 0 / 424.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002501/0.2903, allocations: 1.048 MB / 425.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.29e-05/0.2904, allocations: 97.03 kB / 426 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2904, allocations: 4 kB / 426 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/0.2911, allocations: 231.3 kB / 426.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.2917, allocations: 127.8 kB / 426.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008353/0.3, allocations: 6.932 MB / 433.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.3009, allocations: 91.52 kB / 433.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.301, allocations: 27.98 kB / 433.4 MB, free: 6.105 MB / 350.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 (70): * Single equations (assignments): 63 * 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.0003548/0.3013, allocations: 217.7 kB / 433.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.3015, allocations: 95.42 kB / 433.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.3017, allocations: 87.34 kB / 433.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3017, allocations: 8.234 kB / 433.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3017, allocations: 0 / 433.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002312/0.304, allocations: 1.19 MB / 435 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.3077, allocations: 1.878 MB / 436.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3077, allocations: 0 / 436.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.3083, allocations: 123.9 kB / 437 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/0.3089, allocations: 202.4 kB / 437.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.3089, allocations: 12 kB / 437.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006461/0.3154, allocations: 5.311 MB / 442.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3154, allocations: 3.938 kB / 442.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.3184, allocations: 1.321 MB / 443.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.3188, allocations: 240.4 kB / 444.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3189, allocations: 24 kB / 444.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.3195, allocations: 39.91 kB / 444.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.3197, allocations: 60.56 kB / 444.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.3197, allocations: 20 kB / 444.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005771/0.3203, allocations: 463 kB / 444.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.266e-06/0.3203, allocations: 0 / 444.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008212/0.3211, allocations: 283.7 kB / 444.9 MB, free: 9.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.003289/0.3244, allocations: 1.892 MB / 446.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.3266, allocations: 1.305 MB / 448.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3266, allocations: 4 kB / 448.1 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.3277, allocations: 0.699 MB / 448.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.3287, allocations: 231.2 kB / 449 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.3413, allocations: 7.454 MB / 456.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.3419, allocations: 0.94 MB / 457.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.3424, allocations: 102.4 kB / 457.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.3428, allocations: 303.3 kB / 457.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3428, allocations: 0 / 457.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06761/0.4104, allocations: 25.41 MB / 483.2 MB, free: 3.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.59, allocations: 12.77 kB / 483.3 MB, free: 3.57 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches