Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001024/0.001024, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000957/0.000957, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004243, allocations: 8 kB / 0.8722 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8987/0.8992, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1768/1.076, allocations: 146.7 MB / 1.166 GB, free: 12.92 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003066/1.079, allocations: 1.654 MB / 1.167 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/1.079, allocations: 11.94 kB / 1.167 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005161/1.08, allocations: 119.2 kB / 1.167 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/1.081, allocations: 386.2 kB / 1.168 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/1.082, allocations: 330.8 kB / 1.168 GB, free: 10.44 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002948/1.085, allocations: 2.979 MB / 1.171 GB, free: 7.449 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009819/1.086, allocations: 0.6915 MB / 1.172 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/1.088, allocations: 0.8637 MB / 1.173 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008248/1.088, allocations: 0.7157 MB / 1.173 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.058e-05/1.088, allocations: 36 kB / 1.173 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/1.09, allocations: 0.5457 MB / 1.174 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/1.09, allocations: 282.9 kB / 1.174 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/1.09, allocations: 229.1 kB / 1.174 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/1.091, allocations: 1.029 MB / 1.175 GB, free: 3.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.091, allocations: 0 / 1.175 GB, free: 3.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.295e-06/1.091, allocations: 3.938 kB / 1.175 GB, free: 3.039 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.314e-05/1.091, allocations: 0 / 1.175 GB, free: 3.039 MB / 0.92 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.002254/1.093, allocations: 1.299 MB / 1.177 GB, free: 1.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.094, allocations: 16.02 kB / 1.177 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007734/1.094, allocations: 182.4 kB / 1.177 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.096, allocations: 0.7923 MB / 1.178 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/1.096, allocations: 49 kB / 1.178 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/1.096, allocations: 56 kB / 1.178 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/1.097, allocations: 0.7981 MB / 1.178 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/1.097, allocations: 0 / 1.178 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/1.097, allocations: 31.95 kB / 1.178 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/1.097, allocations: 12 kB / 1.178 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/1.098, allocations: 0.5422 MB / 1.179 GB, free: 15.07 MB / 0.9356 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.004128/1.102, allocations: 4.599 MB / 1.183 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/1.103, allocations: 430.2 kB / 1.184 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/1.103, allocations: 250.2 kB / 1.184 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/1.104, allocations: 186.2 kB / 1.184 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/1.104, allocations: 301 kB / 1.185 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/1.104, allocations: 0 / 1.185 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.001423/1.106, allocations: 0.6434 MB / 1.185 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.106, allocations: 89.05 kB / 1.185 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.107, allocations: 1.11 MB / 1.186 GB, free: 7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/1.107, allocations: 37.92 kB / 1.186 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/1.108, allocations: 0.492 MB / 1.187 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.108, allocations: 114.5 kB / 1.187 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/1.108, allocations: 12 kB / 1.187 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.108, allocations: 326 kB / 1.187 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/1.108, allocations: 184.7 kB / 1.188 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/1.109, allocations: 0.4979 MB / 1.188 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/1.109, allocations: 298.8 kB / 1.188 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.109, allocations: 4 kB / 1.188 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001062/1.11, allocations: 0.6742 MB / 1.189 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002562/1.111, allocations: 283.1 kB / 1.189 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.111, allocations: 4 kB / 1.189 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.111, allocations: 8 kB / 1.189 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/1.111, allocations: 115.8 kB / 1.189 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/1.111, allocations: 11.98 kB / 1.189 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/1.112, allocations: 107.3 kB / 1.189 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/1.112, allocations: 27.92 kB / 1.189 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/1.112, allocations: 4 kB / 1.189 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008551/1.113, allocations: 0.5369 MB / 1.19 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.113, allocations: 8.031 kB / 1.19 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.113, allocations: 12 kB / 1.19 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/1.113, allocations: 103.8 kB / 1.19 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.113, allocations: 11.98 kB / 1.19 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/1.114, allocations: 95.53 kB / 1.19 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/1.114, allocations: 20 kB / 1.19 GB, free: 2.789 MB / 0.9356 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004997/1.114, allocations: 484.5 kB / 1.191 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.115, allocations: 98.78 kB / 1.191 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000884/1.115, allocations: 0.495 MB / 1.191 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.115, allocations: 4 kB / 1.191 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.115, allocations: 0 / 1.191 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.115, allocations: 4 kB / 1.191 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/1.117, allocations: 1.387 MB / 1.193 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.117, allocations: 7.984 kB / 1.193 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/1.118, allocations: 68.12 kB / 1.193 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/1.118, allocations: 7.984 kB / 1.193 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/1.118, allocations: 8 kB / 1.193 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.118, allocations: 7.938 kB / 1.193 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/1.118, allocations: 7.938 kB / 1.193 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/1.119, allocations: 0.6124 MB / 1.193 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/1.119, allocations: 223.8 kB / 1.194 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.119, allocations: 8 kB / 1.194 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.119, allocations: 55.8 kB / 1.194 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/1.119, allocations: 39.84 kB / 1.194 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/1.119, allocations: 8 kB / 1.194 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009501/1.12, allocations: 0.7836 MB / 1.194 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.12, allocations: 0 / 1.194 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001335/1.122, allocations: 411.4 kB / 1.195 GB, free: 13.94 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006185/1.122, allocations: 185.4 kB / 1.195 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.124, allocations: 0.7981 MB / 1.196 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.124, allocations: 0 / 1.196 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/1.124, allocations: 208.2 kB / 1.196 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.126, allocations: 454.3 kB / 1.196 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/1.129, allocations: 1.962 MB / 1.198 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/1.13, allocations: 1.177 MB / 1.199 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001051/1.131, allocations: 419.5 kB / 1.2 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/1.131, allocations: 75.42 kB / 1.2 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/1.131, allocations: 0 / 1.2 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.02851/1.16, allocations: 16 MB / 1.216 GB, free: 8.766 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches