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.0012/0.0012, allocations: 112 kB / 16.41 MB, free: 6.484 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.001303/0.001303, allocations: 183 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 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.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 55.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8679, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.2148/1.083, allocations: 161.6 MB / 1.246 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003829/1.087, allocations: 1.759 MB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006185/1.087, allocations: 14.81 kB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/1.088, allocations: 167 kB / 1.248 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/1.09, allocations: 0.553 MB / 1.249 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/1.091, allocations: 393 kB / 1.249 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003353/1.095, allocations: 2.537 MB / 1.252 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/1.096, allocations: 0.9372 MB / 1.253 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/1.099, allocations: 1.036 MB / 1.254 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/1.1, allocations: 0.7 MB / 1.254 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002843/1.101, allocations: 56 kB / 1.254 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/1.103, allocations: 0.7445 MB / 1.255 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/1.103, allocations: 314.9 kB / 1.255 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/1.104, allocations: 0.5401 MB / 1.256 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/1.107, allocations: 1.4 MB / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.107, allocations: 0 / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.524e-06/1.107, allocations: 0 / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.03e-05/1.107, allocations: 0 / 1.257 GB, free: 0.9727 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.003117/1.11, allocations: 1.449 MB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.11, allocations: 8.031 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/1.111, allocations: 186.5 kB / 1.259 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/1.113, allocations: 0.8567 MB / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/1.113, allocations: 44.94 kB / 1.26 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/1.113, allocations: 60 kB / 1.26 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/1.115, allocations: 0.7888 MB / 1.261 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/1.115, allocations: 0 / 1.261 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/1.115, allocations: 27.94 kB / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/1.115, allocations: 16 kB / 1.261 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/1.116, allocations: 0.5306 MB / 1.261 GB, free: 12.82 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.005679/1.121, allocations: 4.591 MB / 1.266 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/1.122, allocations: 422.8 kB / 1.266 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/1.123, allocations: 240.7 kB / 1.266 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003285/1.123, allocations: 194.2 kB / 1.266 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/1.123, allocations: 297.6 kB / 1.267 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 4.067e-06/1.124, allocations: 3.984 kB / 1.267 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001578/1.125, allocations: 0.6303 MB / 1.267 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/1.125, allocations: 85.11 kB / 1.267 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.127, allocations: 1.121 MB / 1.269 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/1.127, allocations: 33.92 kB / 1.269 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/1.127, allocations: 492.1 kB / 1.269 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.128, allocations: 110.4 kB / 1.269 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/1.128, allocations: 114 kB / 1.269 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.128, allocations: 325.9 kB / 1.27 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/1.128, allocations: 214.4 kB / 1.27 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/1.129, allocations: 0.5175 MB / 1.27 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/1.13, allocations: 0.6344 MB / 1.271 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.13, allocations: 0 / 1.271 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001448/1.131, allocations: 0.7172 MB / 1.272 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/1.132, allocations: 37.7 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.132, allocations: 8 kB / 1.272 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.132, allocations: 8 kB / 1.272 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/1.132, allocations: 104.4 kB / 1.272 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/1.132, allocations: 15.94 kB / 1.272 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/1.133, allocations: 75.48 kB / 1.272 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/1.133, allocations: 20 kB / 1.272 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007522/1.134, allocations: 0.5005 MB / 1.272 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005604/1.134, allocations: 493.9 kB / 1.273 GB, free: 15.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007601/1.135, allocations: 0.5567 MB / 1.273 GB, free: 15.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/1.135, allocations: 7.938 kB / 1.273 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001199/1.136, allocations: 0.6466 MB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/1.136, allocations: 37.7 kB / 1.274 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.136, allocations: 7.984 kB / 1.274 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/1.136, allocations: 8 kB / 1.274 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/1.137, allocations: 95.88 kB / 1.274 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.137, allocations: 11.94 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/1.138, allocations: 72.31 kB / 1.274 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/1.138, allocations: 24 kB / 1.274 GB, free: 14.43 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.0002138/1.138, allocations: 227.9 kB / 1.274 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/1.138, allocations: 98.78 kB / 1.275 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/1.139, allocations: 498.9 kB / 1.275 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.139, allocations: 8 kB / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.139, allocations: 0 / 1.275 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/1.139, allocations: 7.922 kB / 1.275 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/1.141, allocations: 1.381 MB / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.141, allocations: 4 kB / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/1.142, allocations: 59.89 kB / 1.276 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/1.142, allocations: 11.88 kB / 1.276 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/1.142, allocations: 8 kB / 1.276 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/1.142, allocations: 4 kB / 1.277 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.142, allocations: 4 kB / 1.277 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/1.143, allocations: 0.6024 MB / 1.277 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/1.143, allocations: 219.7 kB / 1.277 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.143, allocations: 11.98 kB / 1.277 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/1.144, allocations: 19.98 kB / 1.277 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/1.144, allocations: 27.91 kB / 1.277 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/1.144, allocations: 15.98 kB / 1.277 GB, free: 11.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0015/1.145, allocations: 0.7914 MB / 1.278 GB, free: 10.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/1.145, allocations: 0 / 1.278 GB, free: 10.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001833/1.147, allocations: 407.4 kB / 1.279 GB, free: 9.887 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.0006376/1.148, allocations: 176.9 kB / 1.279 GB, free: 9.711 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002059/1.15, allocations: 0.8239 MB / 1.28 GB, free: 8.867 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.15, allocations: 0 / 1.28 GB, free: 8.867 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/1.15, allocations: 196.8 kB / 1.28 GB, free: 8.676 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.152, allocations: 458.5 kB / 1.28 GB, free: 8.238 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/1.156, allocations: 1.772 MB / 1.282 GB, free: 6.406 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/1.157, allocations: 1.176 MB / 1.283 GB, free: 5.199 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/1.157, allocations: 79.42 kB / 1.283 GB, free: 5.121 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.157, allocations: 4 kB / 1.283 GB, free: 5.117 MB / 1.014 GB Notification: Performance of Templates: time 0.0254/1.182, allocations: 15.96 MB / 1.299 GB, free: 5.266 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/jenkins1/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