Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") 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: 84.38 kB / 15.06 MB, free: 1.09 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.001489/0.001489, allocations: 168.7 kB / 15.95 MB, free: 204 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.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.81/2.81, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8.594 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3041, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1643/0.4685, allocations: 146.7 MB / 1.201 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.4715, allocations: 1.66 MB / 1.203 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.4718, allocations: 7.938 kB / 1.203 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.4722, allocations: 103.2 kB / 1.203 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.4733, allocations: 397 kB / 1.203 GB, free: 12 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.4744, allocations: 338.3 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.4773, allocations: 3.003 MB / 1.207 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.48, allocations: 2.145 MB / 1.209 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.4817, allocations: 0.8676 MB / 1.21 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.4826, allocations: 0.7079 MB / 1.21 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.156e-05/0.4827, allocations: 36 kB / 1.21 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.4839, allocations: 0.5535 MB / 1.211 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.4842, allocations: 282.9 kB / 1.211 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.4845, allocations: 229.1 kB / 1.211 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.4856, allocations: 1.041 MB / 1.212 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4856, allocations: 0 / 1.212 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4856, allocations: 0 / 1.212 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.4856, allocations: 0 / 1.212 GB, free: 6.789 MB / 0.9669 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.002064/0.4877, allocations: 1.33 MB / 1.214 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4877, allocations: 12.03 kB / 1.214 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007285/0.4885, allocations: 186.5 kB / 1.214 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.4898, allocations: 0.8001 MB / 1.215 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.4899, allocations: 41 kB / 1.215 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.49, allocations: 60 kB / 1.215 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4913, allocations: 0.8355 MB / 1.216 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4913, allocations: 3.938 kB / 1.216 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.4914, allocations: 24 kB / 1.216 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.4914, allocations: 12 kB / 1.216 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.4923, allocations: 0.5696 MB / 1.216 GB, free: 2.723 MB / 0.9669 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.00389/0.4962, allocations: 4.258 MB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.497, allocations: 443.9 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.4975, allocations: 353.7 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.4978, allocations: 198.2 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/0.4983, allocations: 323.1 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001983/0.4986, allocations: 35.69 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.013e-06/0.4986, allocations: 0 / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.004656/0.5032, allocations: 1.693 MB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.5033, allocations: 85.05 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.5047, allocations: 1.147 MB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.5047, allocations: 33.7 kB / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.5051, allocations: 488.4 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/0.5052, allocations: 114.4 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.5053, allocations: 12 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.5054, allocations: 322 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.5057, allocations: 209 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.5063, allocations: 0.5189 MB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.5068, allocations: 314.4 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5068, allocations: 0 / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002028/0.5088, allocations: 1.064 MB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.509, allocations: 279.3 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.509, allocations: 4 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.5102, allocations: 345.6 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.5106, allocations: 103.9 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.5117, allocations: 1.046 MB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/0.5125, allocations: 89.66 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.5126, allocations: 24 kB / 1.229 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.5126, allocations: 6.125 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.514, allocations: 0.7949 MB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.514, allocations: 8 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.5146, allocations: 240.7 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.515, allocations: 111.9 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.5185, allocations: 3.041 MB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.5193, allocations: 95.88 kB / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.5193, allocations: 16 kB / 1.233 GB, free: 180 kB / 0.9825 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005424/0.5199, allocations: 476.6 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.52, allocations: 98.78 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.5214, allocations: 0.7851 MB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5214, allocations: 7.984 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5214, allocations: 8 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5214, allocations: 0 / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.5238, allocations: 1.746 MB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5238, allocations: 4 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.524, allocations: 64.16 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/0.5245, allocations: 232.6 kB / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.5246, allocations: 15.95 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008849/0.5255, allocations: 1.011 MB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5255, allocations: 0 / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5267, allocations: 0.8972 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.5271, allocations: 231.7 kB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5272, allocations: 12.08 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.5278, allocations: 63.84 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.5279, allocations: 35.89 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.5279, allocations: 11.98 kB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001046/0.529, allocations: 0.8119 MB / 1.24 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.106e-06/0.529, allocations: 0 / 1.24 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001316/0.5303, allocations: 479.4 kB / 1.24 GB, free: 9.023 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004393/0.5307, allocations: 170.5 kB / 1.24 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.5328, allocations: 1.137 MB / 1.242 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5328, allocations: 8.062 kB / 1.242 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.5333, allocations: 250.5 kB / 1.242 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.5363, allocations: 0.6317 MB / 1.242 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.5392, allocations: 2.001 MB / 1.244 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/0.5399, allocations: 1.185 MB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001005/0.5409, allocations: 340.1 kB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.5411, allocations: 71.42 kB / 1.246 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/0.5411, allocations: 0 / 1.246 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of Templates: time 0.5401/1.081, allocations: 20.71 MB / 1.266 GB, free: 186.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches