Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) 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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.001012/0.001012, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00755/0.00755, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.17/1.17, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.308/2.308, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 7.625 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1392/0.3619, allocations: 157.3 MB / 1.212 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003529/0.3654, allocations: 1.751 MB / 1.214 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.3657, allocations: 15.88 kB / 1.214 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.3662, allocations: 127.2 kB / 1.214 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.3676, allocations: 0.498 MB / 1.215 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3686, allocations: 349.6 kB / 1.215 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002864/0.3715, allocations: 3.487 MB / 1.218 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007201/0.3722, allocations: 0.7427 MB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3733, allocations: 0.9024 MB / 1.22 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.3739, allocations: 0.7077 MB / 1.221 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.285e-05/0.374, allocations: 35.98 kB / 1.221 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.3749, allocations: 0.799 MB / 1.222 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.3752, allocations: 278.9 kB / 1.222 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.3756, allocations: 0.534 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3767, allocations: 1.363 MB / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3767, allocations: 0 / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3767, allocations: 0 / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3767, allocations: 0 / 1.224 GB, free: 11.34 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001538/0.3782, allocations: 1.264 MB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3783, allocations: 11.97 kB / 1.225 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/0.3784, allocations: 94.52 kB / 1.225 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005972/0.379, allocations: 190.5 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009083/0.3799, allocations: 0.7944 MB / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.3799, allocations: 53 kB / 1.226 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.38, allocations: 56 kB / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/0.381, allocations: 0.8043 MB / 1.227 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.381, allocations: 3.938 kB / 1.227 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.3811, allocations: 27.98 kB / 1.227 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.3811, allocations: 12 kB / 1.227 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.3819, allocations: 0.5461 MB / 1.227 GB, free: 7.285 MB / 0.9825 GB 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.003142/0.385, allocations: 4.599 MB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.3856, allocations: 430.2 kB / 1.232 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.386, allocations: 250.2 kB / 1.233 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.3862, allocations: 198.2 kB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.3866, allocations: 297.5 kB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.262e-06/0.3867, allocations: 0 / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001093/0.3877, allocations: 0.6583 MB / 1.234 GB, free: 432 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.3878, allocations: 81.11 kB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3889, allocations: 1.106 MB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.3889, allocations: 37.7 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.3893, allocations: 0.4921 MB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.3893, allocations: 110.5 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.3894, allocations: 41.7 kB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.3895, allocations: 326 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.3898, allocations: 212.7 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.3904, allocations: 0.5252 MB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.3911, allocations: 0.6384 MB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3911, allocations: 0 / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009904/0.3921, allocations: 0.7324 MB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.3923, allocations: 267 kB / 1.238 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3923, allocations: 8 kB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3923, allocations: 11.88 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.3927, allocations: 115.8 kB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3927, allocations: 15.92 kB / 1.238 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.3932, allocations: 99.38 kB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.3933, allocations: 24 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.3933, allocations: 4 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007695/0.3941, allocations: 0.5442 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3941, allocations: 4 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.3941, allocations: 8 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.3944, allocations: 103.9 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3944, allocations: 15.92 kB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.3949, allocations: 87.81 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.395, allocations: 20 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003728/0.3954, allocations: 477 kB / 1.24 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.3955, allocations: 102.8 kB / 1.24 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000765/0.3962, allocations: 499 kB / 1.24 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3962, allocations: 7.984 kB / 1.24 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.3963, allocations: 4 kB / 1.24 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3963, allocations: 3.984 kB / 1.24 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.3979, allocations: 1.404 MB / 1.242 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.3979, allocations: 4 kB / 1.242 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3981, allocations: 72.05 kB / 1.242 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3981, allocations: 4 kB / 1.242 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3982, allocations: 11.98 kB / 1.242 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3982, allocations: 4 kB / 1.242 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3982, allocations: 0 / 1.242 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.3989, allocations: 0.614 MB / 1.242 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.3991, allocations: 219.7 kB / 1.242 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.3992, allocations: 11.98 kB / 1.243 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.3996, allocations: 51.86 kB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.3997, allocations: 27.91 kB / 1.243 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3997, allocations: 12 kB / 1.243 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007963/0.4005, allocations: 0.7953 MB / 1.243 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4005, allocations: 0 / 1.243 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008115/0.4013, allocations: 395.5 kB / 1.244 GB, free: 5.602 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.4025, allocations: 1.238 MB / 1.245 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.4036, allocations: 0.8271 MB / 1.246 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4036, allocations: 4 kB / 1.246 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.4039, allocations: 212.3 kB / 1.246 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.4059, allocations: 459.7 kB / 1.246 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3679/0.7738, allocations: 8.818 MB / 1.255 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.7742, allocations: 1.179 MB / 1.256 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000902/0.7751, allocations: 417.8 kB / 1.257 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.7755, allocations: 323.5 kB / 1.257 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.7755, allocations: 0 / 1.257 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.293/5.068, allocations: 24.95 MB / 1.281 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/5.069, allocations: 269.2 kB / 1.281 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/7.509, allocations: 0 / 1.281 GB, free: 180.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches