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: 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.001572/0.001572, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001731/0.001731, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.572/1.572, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.42 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3473, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7681/1.115, allocations: 161.6 MB / 1.185 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003329/1.119, allocations: 1.761 MB / 1.186 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/1.119, allocations: 10.91 kB / 1.186 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006435/1.12, allocations: 156.7 kB / 1.186 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/1.121, allocations: 0.529 MB / 1.187 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/1.123, allocations: 404.8 kB / 1.187 GB, free: 0 / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002893/1.126, allocations: 2.524 MB / 1.19 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/1.127, allocations: 0.9203 MB / 1.191 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/1.129, allocations: 1.034 MB / 1.192 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009782/1.13, allocations: 0.7048 MB / 1.192 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/1.13, allocations: 55 kB / 1.192 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/1.132, allocations: 0.7455 MB / 1.193 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003665/1.132, allocations: 305.8 kB / 1.193 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007413/1.133, allocations: 0.5356 MB / 1.194 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/1.135, allocations: 1.404 MB / 1.195 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.135, allocations: 0 / 1.195 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.275e-06/1.135, allocations: 0 / 1.195 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.331e-05/1.135, allocations: 1.812 kB / 1.195 GB, free: 11.37 MB / 0.9044 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.002292/1.137, allocations: 1.441 MB / 1.197 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.137, allocations: 10.5 kB / 1.197 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007634/1.138, allocations: 187.6 kB / 1.197 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/1.139, allocations: 0.8516 MB / 1.198 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/1.139, allocations: 48.69 kB / 1.198 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/1.139, allocations: 62.16 kB / 1.198 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.141, allocations: 0.7966 MB / 1.199 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.141, allocations: 6.281 kB / 1.199 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/1.141, allocations: 17.78 kB / 1.199 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/1.141, allocations: 13.56 kB / 1.199 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008413/1.142, allocations: 0.5358 MB / 1.199 GB, free: 8.648 MB / 0.9044 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.004108/1.146, allocations: 4.59 MB / 1.204 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/1.146, allocations: 415.9 kB / 1.204 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/1.147, allocations: 243.2 kB / 1.204 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/1.147, allocations: 195.3 kB / 1.205 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/1.148, allocations: 295.4 kB / 1.205 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.993e-06/1.148, allocations: 0 / 1.205 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001369/1.149, allocations: 0.6353 MB / 1.205 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.149, allocations: 85.86 kB / 1.206 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/1.15, allocations: 1.109 MB / 1.207 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/1.15, allocations: 35.39 kB / 1.207 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/1.151, allocations: 0.4944 MB / 1.207 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/1.151, allocations: 105.3 kB / 1.207 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/1.151, allocations: 107.8 kB / 1.207 GB, free: 2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.151, allocations: 326.8 kB / 1.208 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/1.151, allocations: 219.2 kB / 1.208 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/1.152, allocations: 0.5158 MB / 1.208 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/1.153, allocations: 0.6373 MB / 1.209 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.153, allocations: 0 / 1.209 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001156/1.154, allocations: 0.7221 MB / 1.21 GB, free: 212 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/1.154, allocations: 40.09 kB / 1.21 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.154, allocations: 7.344 kB / 1.21 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.154, allocations: 7.188 kB / 1.21 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/1.155, allocations: 110.8 kB / 1.21 GB, free: 144 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.155, allocations: 15.17 kB / 1.21 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/1.155, allocations: 70.12 kB / 1.21 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/1.155, allocations: 28.08 kB / 1.21 GB, free: 88 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007292/1.156, allocations: 0.4906 MB / 1.21 GB, free: 15.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005362/1.157, allocations: 495.9 kB / 1.211 GB, free: 15.31 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007094/1.157, allocations: 0.5575 MB / 1.211 GB, free: 14.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-06/1.157, allocations: 0 / 1.211 GB, free: 14.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009873/1.158, allocations: 0.6492 MB / 1.212 GB, free: 14.53 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/1.158, allocations: 33.55 kB / 1.212 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.158, allocations: 4.344 kB / 1.212 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/1.158, allocations: 7.844 kB / 1.212 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/1.159, allocations: 105.8 kB / 1.212 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.159, allocations: 12.31 kB / 1.212 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/1.159, allocations: 72.02 kB / 1.212 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/1.159, allocations: 20 kB / 1.212 GB, free: 14.32 MB / 0.92 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.0001866/1.16, allocations: 227.9 kB / 1.213 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.16, allocations: 98.78 kB / 1.213 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.161, allocations: 497.6 kB / 1.213 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.161, allocations: 4 kB / 1.213 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.161, allocations: 3.984 kB / 1.213 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.161, allocations: 0 / 1.213 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/1.163, allocations: 1.392 MB / 1.214 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.163, allocations: 4 kB / 1.214 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/1.163, allocations: 67.83 kB / 1.215 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.163, allocations: 7.938 kB / 1.215 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/1.163, allocations: 8 kB / 1.215 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.163, allocations: 8.203 kB / 1.215 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.163, allocations: 4 kB / 1.215 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/1.164, allocations: 0.6022 MB / 1.215 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/1.164, allocations: 215.8 kB / 1.215 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.164, allocations: 11.94 kB / 1.215 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/1.165, allocations: 19.97 kB / 1.215 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/1.165, allocations: 31.83 kB / 1.215 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.165, allocations: 16 kB / 1.215 GB, free: 10.98 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009799/1.166, allocations: 0.7875 MB / 1.216 GB, free: 10.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.166, allocations: 0 / 1.216 GB, free: 10.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001169/1.167, allocations: 407.4 kB / 1.217 GB, free: 9.781 MB / 0.92 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.0004921/1.168, allocations: 178.4 kB / 1.217 GB, free: 9.609 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001288/1.169, allocations: 0.8119 MB / 1.218 GB, free: 8.777 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.169, allocations: 0.6875 kB / 1.218 GB, free: 8.777 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/1.169, allocations: 210.3 kB / 1.218 GB, free: 8.574 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.171, allocations: 456.2 kB / 1.218 GB, free: 8.129 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/1.173, allocations: 1.728 MB / 1.22 GB, free: 6.344 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/1.174, allocations: 1.176 MB / 1.221 GB, free: 5.137 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008499/1.175, allocations: 407.7 kB / 1.221 GB, free: 4.734 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/1.175, allocations: 75.42 kB / 1.221 GB, free: 4.66 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/1.175, allocations: 0 / 1.221 GB, free: 4.66 MB / 0.92 GB Notification: Performance of Templates: time 0.02818/1.203, allocations: 17.06 MB / 1.238 GB, free: 3.797 MB / 0.9356 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 -s cvode -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