Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008811/0.008812, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001881/0.001881, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.865, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.212/1.077, allocations: 161.6 MB / 1.246 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004407/1.082, allocations: 1.761 MB / 1.247 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/1.082, allocations: 11.03 kB / 1.247 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000851/1.083, allocations: 170.9 kB / 1.248 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/1.085, allocations: 0.5454 MB / 1.248 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/1.087, allocations: 399.1 kB / 1.249 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003107/1.09, allocations: 2.531 MB / 1.251 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/1.091, allocations: 0.9367 MB / 1.252 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/1.093, allocations: 1.043 MB / 1.253 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/1.095, allocations: 0.7 MB / 1.254 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/1.095, allocations: 59.94 kB / 1.254 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/1.097, allocations: 0.7367 MB / 1.254 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/1.097, allocations: 318.9 kB / 1.255 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007028/1.098, allocations: 0.5401 MB / 1.255 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/1.099, allocations: 1.406 MB / 1.257 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.1, allocations: 0 / 1.257 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/1.1, allocations: 0 / 1.257 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.335e-05/1.1, allocations: 0 / 1.257 GB, free: 0.9297 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.002249/1.102, allocations: 1.481 MB / 1.258 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.102, allocations: 8.031 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/1.103, allocations: 187.2 kB / 1.258 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/1.104, allocations: 0.8656 MB / 1.259 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/1.104, allocations: 41 kB / 1.259 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/1.104, allocations: 67.98 kB / 1.259 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/1.105, allocations: 0.7887 MB / 1.26 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.105, allocations: 0 / 1.26 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-05/1.105, allocations: 28 kB / 1.26 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.105, allocations: 12 kB / 1.26 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/1.106, allocations: 0.5344 MB / 1.261 GB, free: 12.73 MB / 0.9981 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.004042/1.11, allocations: 4.596 MB / 1.265 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/1.111, allocations: 422.7 kB / 1.265 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/1.112, allocations: 247.4 kB / 1.266 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/1.112, allocations: 186.2 kB / 1.266 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/1.112, allocations: 301.6 kB / 1.266 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/1.112, allocations: 0 / 1.266 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001307/1.114, allocations: 0.6309 MB / 1.267 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.114, allocations: 93.2 kB / 1.267 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/1.115, allocations: 1.122 MB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/1.115, allocations: 37.64 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/1.115, allocations: 496.8 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/1.115, allocations: 115 kB / 1.269 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.116, allocations: 110.1 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.116, allocations: 329.9 kB / 1.269 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/1.116, allocations: 214.4 kB / 1.269 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/1.117, allocations: 0.5135 MB / 1.27 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/1.118, allocations: 0.6344 MB / 1.27 GB, free: 2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.118, allocations: 0 / 1.27 GB, free: 2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001186/1.119, allocations: 0.7216 MB / 1.271 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/1.119, allocations: 37.7 kB / 1.271 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.119, allocations: 8 kB / 1.271 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.119, allocations: 8 kB / 1.271 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/1.119, allocations: 108.4 kB / 1.271 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.119, allocations: 11.94 kB / 1.271 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/1.12, allocations: 83.58 kB / 1.271 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/1.12, allocations: 20 kB / 1.271 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006284/1.121, allocations: 0.5005 MB / 1.272 GB, free: 496 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005164/1.121, allocations: 493.9 kB / 1.272 GB, free: 15.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007221/1.122, allocations: 0.5648 MB / 1.273 GB, free: 15.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/1.122, allocations: 4 kB / 1.273 GB, free: 15.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001003/1.123, allocations: 0.6429 MB / 1.273 GB, free: 14.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/1.123, allocations: 40.36 kB / 1.273 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.123, allocations: 4 kB / 1.273 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/1.123, allocations: 8 kB / 1.273 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/1.123, allocations: 103.8 kB / 1.274 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.123, allocations: 11.94 kB / 1.274 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/1.124, allocations: 76.31 kB / 1.274 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.124, allocations: 23.98 kB / 1.274 GB, free: 14.3 MB / 1.014 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.0001711/1.124, allocations: 227.9 kB / 1.274 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.124, allocations: 99.34 kB / 1.274 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008549/1.125, allocations: 0.4911 MB / 1.274 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.125, allocations: 8 kB / 1.274 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.125, allocations: 0 / 1.274 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.125, allocations: 3.984 kB / 1.274 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/1.127, allocations: 1.385 MB / 1.276 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.127, allocations: 3.938 kB / 1.276 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/1.127, allocations: 59.95 kB / 1.276 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.127, allocations: 11.88 kB / 1.276 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/1.128, allocations: 8 kB / 1.276 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.128, allocations: 11.92 kB / 1.276 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.128, allocations: 224 / 1.276 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008371/1.128, allocations: 0.6106 MB / 1.277 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/1.129, allocations: 220.3 kB / 1.277 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.129, allocations: 8 kB / 1.277 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/1.129, allocations: 23.97 kB / 1.277 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/1.129, allocations: 23.97 kB / 1.277 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/1.129, allocations: 15.98 kB / 1.277 GB, free: 10.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009487/1.13, allocations: 0.7875 MB / 1.278 GB, free: 10.15 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.13, allocations: 4 kB / 1.278 GB, free: 10.15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001183/1.132, allocations: 411.5 kB / 1.278 GB, free: 9.746 MB / 1.014 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.0004363/1.132, allocations: 169.8 kB / 1.278 GB, free: 9.578 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.133, allocations: 0.8158 MB / 1.279 GB, free: 8.742 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.133, allocations: 4 kB / 1.279 GB, free: 8.738 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/1.134, allocations: 208.2 kB / 1.279 GB, free: 8.535 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.136, allocations: 457.7 kB / 1.28 GB, free: 8.094 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/1.138, allocations: 1.759 MB / 1.281 GB, free: 6.281 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/1.139, allocations: 1.176 MB / 1.282 GB, free: 5.074 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008675/1.14, allocations: 411.7 kB / 1.283 GB, free: 4.668 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.14, allocations: 75.42 kB / 1.283 GB, free: 4.594 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/1.14, allocations: 0 / 1.283 GB, free: 4.594 MB / 1.014 GB Notification: Performance of Templates: time 0.02913/1.169, allocations: 17.18 MB / 1.3 GB, free: 3.629 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches