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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 107.2 kB / 15.99 MB, free: 6.348 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: 189.2 kB / 16.91 MB, free: 6.184 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.295/1.295, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 64.16 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.304, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6522/0.9563, allocations: 159.4 MB / 1.219 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002954/0.9593, allocations: 1.743 MB / 1.221 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.9596, allocations: 13.38 kB / 1.221 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.9602, allocations: 144 kB / 1.221 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.9615, allocations: 0.4941 MB / 1.222 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.9625, allocations: 350 kB / 1.222 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.965, allocations: 2.554 MB / 1.225 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009867/0.966, allocations: 0.8925 MB / 1.225 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.9675, allocations: 1.066 MB / 1.226 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000824/0.9683, allocations: 0.7434 MB / 1.227 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.434e-05/0.9685, allocations: 56.5 kB / 1.227 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.9698, allocations: 0.7509 MB / 1.228 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.9701, allocations: 314.8 kB / 1.228 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.9707, allocations: 0.544 MB / 1.229 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.9718, allocations: 1.045 MB / 1.23 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9718, allocations: 4 kB / 1.23 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.376e-06/0.9718, allocations: 0 / 1.23 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.9719, allocations: 3.938 kB / 1.23 GB, free: 15.53 MB / 0.9512 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.002079/0.9739, allocations: 1.437 MB / 1.231 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.974, allocations: 19.97 kB / 1.231 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.9747, allocations: 182.5 kB / 1.231 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.9758, allocations: 0.8021 MB / 1.232 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.9758, allocations: 45 kB / 1.232 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.9759, allocations: 56 kB / 1.232 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.977, allocations: 0.7965 MB / 1.233 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.9771, allocations: 7.938 kB / 1.233 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.9771, allocations: 23.94 kB / 1.233 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.9771, allocations: 16 kB / 1.233 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.978, allocations: 0.5383 MB / 1.234 GB, free: 11.42 MB / 0.9512 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.003652/0.9816, allocations: 4.591 MB / 1.238 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.9823, allocations: 410.2 kB / 1.239 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.9827, allocations: 240.7 kB / 1.239 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.983, allocations: 198.2 kB / 1.239 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.9835, allocations: 296.6 kB / 1.239 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.9835, allocations: 0 / 1.239 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.001274/0.9848, allocations: 0.6337 MB / 1.24 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.9848, allocations: 85.11 kB / 1.24 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.986, allocations: 1.114 MB / 1.241 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.9861, allocations: 37.7 kB / 1.241 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.9864, allocations: 496.1 kB / 1.242 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.9865, allocations: 110.5 kB / 1.242 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.9867, allocations: 106 kB / 1.242 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.9868, allocations: 329.9 kB / 1.242 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.9872, allocations: 214.4 kB / 1.242 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.9877, allocations: 0.5215 MB / 1.243 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.9885, allocations: 0.6188 MB / 1.243 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9886, allocations: 7.938 kB / 1.243 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0011/0.9897, allocations: 0.7294 MB / 1.244 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.9897, allocations: 37.7 kB / 1.244 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9897, allocations: 8.031 kB / 1.244 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9898, allocations: 8 kB / 1.244 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.9902, allocations: 107.8 kB / 1.244 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.9902, allocations: 8 kB / 1.244 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.9908, allocations: 91.75 kB / 1.244 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.9909, allocations: 27.98 kB / 1.244 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006108/0.9915, allocations: 0.5005 MB / 1.245 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005087/0.992, allocations: 0.49 MB / 1.245 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007001/0.9927, allocations: 0.5567 MB / 1.246 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/0.9927, allocations: 4 kB / 1.246 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009685/0.9937, allocations: 0.6383 MB / 1.247 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.9937, allocations: 35.58 kB / 1.247 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.9937, allocations: 4 kB / 1.247 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.9938, allocations: 8 kB / 1.247 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.9941, allocations: 103.8 kB / 1.247 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.9941, allocations: 12.36 kB / 1.247 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.9947, allocations: 84.11 kB / 1.247 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.9948, allocations: 28 kB / 1.247 GB, free: 13 MB / 0.9669 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.0001822/0.995, allocations: 222.5 kB / 1.247 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.9951, allocations: 98.78 kB / 1.247 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008497/0.996, allocations: 0.4902 MB / 1.248 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.996, allocations: 4 kB / 1.248 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.996, allocations: 8 kB / 1.248 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.996, allocations: 3.984 kB / 1.248 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.9979, allocations: 1.373 MB / 1.249 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.9979, allocations: 6.5 kB / 1.249 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.9981, allocations: 75.77 kB / 1.249 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.9981, allocations: 0 / 1.249 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.9982, allocations: 12 kB / 1.249 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.9982, allocations: 0 / 1.249 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.9982, allocations: 7.938 kB / 1.249 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.999, allocations: 0.6024 MB / 1.25 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.9992, allocations: 215.7 kB / 1.25 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.9994, allocations: 11.83 kB / 1.25 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.9998, allocations: 47.86 kB / 1.25 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.9999, allocations: 35.89 kB / 1.25 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.9999, allocations: 12 kB / 1.25 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009002/1.001, allocations: 0.7875 MB / 1.251 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 0 / 1.251 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001043/1.002, allocations: 407.5 kB / 1.251 GB, free: 8.453 MB / 0.9669 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.0004258/1.002, allocations: 182.6 kB / 1.251 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.004, allocations: 0.8547 MB / 1.252 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.004, allocations: 3.938 kB / 1.252 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/1.004, allocations: 191.7 kB / 1.252 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/1.006, allocations: 455.9 kB / 1.253 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.008, allocations: 2.095 MB / 1.255 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/1.009, allocations: 1.18 MB / 1.256 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/1.009, allocations: 75.42 kB / 1.256 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of SimCode: time 4.5e-07/1.009, allocations: 0 / 1.256 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of Templates: time 0.02376/1.033, allocations: 15.85 MB / 1.271 GB, free: 3.605 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (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 & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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