Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008436/0.0008438, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009179/0.000918, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 10.5 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1625/0.4948, allocations: 157.3 MB / 1.213 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005037/0.4999, allocations: 3.589 MB / 1.216 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.5003, allocations: 15.88 kB / 1.216 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.5009, allocations: 131.2 kB / 1.217 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.5022, allocations: 0.498 MB / 1.217 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.5034, allocations: 393.2 kB / 1.217 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003155/0.5065, allocations: 3.489 MB / 1.221 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009919/0.5075, allocations: 0.7621 MB / 1.222 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.5091, allocations: 0.8986 MB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009295/0.5101, allocations: 0.7154 MB / 1.223 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.5102, allocations: 32 kB / 1.223 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.5116, allocations: 0.799 MB / 1.224 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.5119, allocations: 282.9 kB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.5125, allocations: 0.5262 MB / 1.225 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.5136, allocations: 1.013 MB / 1.226 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5136, allocations: 0 / 1.226 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5136, allocations: 0 / 1.226 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.5136, allocations: 4 kB / 1.226 GB, free: 9.918 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001972/0.5156, allocations: 1.264 MB / 1.227 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5156, allocations: 8.031 kB / 1.227 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.5164, allocations: 190.5 kB / 1.227 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.5175, allocations: 0.7945 MB / 1.228 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.5175, allocations: 45 kB / 1.228 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5177, allocations: 60 kB / 1.228 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5188, allocations: 0.7926 MB / 1.229 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5188, allocations: 7.938 kB / 1.229 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.5189, allocations: 23.98 kB / 1.229 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5189, allocations: 23.92 kB / 1.229 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.5198, allocations: 0.5462 MB / 1.229 GB, free: 5.969 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.003833/0.5236, allocations: 4.595 MB / 1.234 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.5243, allocations: 434.3 kB / 1.234 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.5248, allocations: 248.7 kB / 1.235 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.525, allocations: 206.2 kB / 1.235 GB, free: 72 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.5256, allocations: 289.7 kB / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.836e-06/0.5256, allocations: 0 / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.003864/0.5295, allocations: 1.35 MB / 1.236 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.5295, allocations: 85.09 kB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.5309, allocations: 1.122 MB / 1.238 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.5309, allocations: 33.7 kB / 1.238 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.5313, allocations: 496.1 kB / 1.238 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.5314, allocations: 110.5 kB / 1.238 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.5315, allocations: 41.7 kB / 1.238 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5316, allocations: 326 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.532, allocations: 216.6 kB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.5325, allocations: 0.5253 MB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008656/0.5334, allocations: 0.6344 MB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.5334, allocations: 4 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00231/0.5358, allocations: 1.05 MB / 1.241 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.536, allocations: 270.9 kB / 1.241 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.536, allocations: 8 kB / 1.241 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.5374, allocations: 376.3 kB / 1.241 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.5376, allocations: 59.91 kB / 1.242 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.5386, allocations: 1.018 MB / 1.243 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000795/0.5394, allocations: 95.53 kB / 1.243 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.5395, allocations: 24 kB / 1.243 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.5395, allocations: 4 kB / 1.243 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.5409, allocations: 0.7239 MB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5409, allocations: 8 kB / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.5414, allocations: 210.6 kB / 1.244 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.5417, allocations: 67.84 kB / 1.244 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/0.5452, allocations: 3.08 MB / 1.247 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.546, allocations: 87.7 kB / 1.247 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.5461, allocations: 43.8 kB / 1.247 GB, free: 3.152 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0005952/0.5467, allocations: 469.3 kB / 1.247 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.5468, allocations: 98.78 kB / 1.247 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.5481, allocations: 0.7063 MB / 1.248 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.5481, allocations: 8 kB / 1.248 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5481, allocations: 4 kB / 1.248 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5481, allocations: 3.984 kB / 1.248 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.5505, allocations: 1.616 MB / 1.25 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5505, allocations: 0 / 1.25 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5506, allocations: 31.92 kB / 1.25 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6026/1.153, allocations: 214 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/1.153, allocations: 10.03 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/1.155, allocations: 0.9798 MB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.155, allocations: 4.438 kB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/1.156, allocations: 0.8476 MB / 1.252 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/1.157, allocations: 222.5 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.157, allocations: 9.156 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/1.157, allocations: 47.84 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/1.157, allocations: 24.94 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/1.157, allocations: 15.91 kB / 1.252 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001217/1.158, allocations: 0.7968 MB / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.158, allocations: 0 / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001628/1.16, allocations: 441.2 kB / 1.253 GB, free: 190.1 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005007/1.161, allocations: 181 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00194/1.163, allocations: 1.085 MB / 1.254 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.163, allocations: 0 / 1.254 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/1.163, allocations: 231.1 kB / 1.255 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.165, allocations: 458.8 kB / 1.255 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/1.168, allocations: 2.126 MB / 1.257 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/1.169, allocations: 1.182 MB / 1.258 GB, free: 188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/1.169, allocations: 59.61 kB / 1.258 GB, free: 188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.169, allocations: 2.438 kB / 1.258 GB, free: 188 MB / 0.9981 GB Notification: Performance of Templates: time 0.04434/1.213, allocations: 20.23 MB / 1.278 GB, free: 182.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches