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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001155/0.001156, allocations: 108 kB / 15.61 MB, free: 152 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.001161/0.001161, allocations: 197 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 68.78 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3032, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.174/0.4773, allocations: 161.6 MB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.4805, allocations: 1.755 MB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.4808, allocations: 15.94 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.4814, allocations: 162.9 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.4826, allocations: 0.525 MB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.4837, allocations: 386.1 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.4862, allocations: 2.528 MB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.4872, allocations: 0.9294 MB / 1.232 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.4888, allocations: 1.016 MB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007522/0.4896, allocations: 0.7077 MB / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.4897, allocations: 56 kB / 1.234 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.491, allocations: 0.7328 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.4913, allocations: 314.8 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005691/0.4919, allocations: 0.5362 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.4933, allocations: 1.382 MB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4934, allocations: 3.984 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4934, allocations: 3.938 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.4934, allocations: 4 kB / 1.237 GB, free: 13.11 MB / 0.9981 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.002129/0.4955, allocations: 1.435 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4956, allocations: 12.03 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000774/0.4963, allocations: 190.5 kB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.4975, allocations: 0.8022 MB / 1.239 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.4975, allocations: 44.98 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/0.4976, allocations: 56 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.4987, allocations: 0.7965 MB / 1.24 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4988, allocations: 3.938 kB / 1.24 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.4988, allocations: 24 kB / 1.24 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.4988, allocations: 12 kB / 1.24 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/0.4998, allocations: 0.5422 MB / 1.241 GB, free: 9 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.003849/0.5036, allocations: 4.614 MB / 1.245 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.5044, allocations: 418.3 kB / 1.246 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.5048, allocations: 250.4 kB / 1.246 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.5051, allocations: 186.2 kB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005195/0.5056, allocations: 293.1 kB / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.255e-06/0.5056, allocations: 0 / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001383/0.507, allocations: 0.6275 MB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5071, allocations: 85.11 kB / 1.247 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.5083, allocations: 1.121 MB / 1.248 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.5084, allocations: 33.7 kB / 1.248 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.5088, allocations: 496.1 kB / 1.249 GB, free: 424 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.5089, allocations: 114.5 kB / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.509, allocations: 106 kB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.6052/1.114, allocations: 325.7 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/1.115, allocations: 211.8 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/1.116, allocations: 0.5181 MB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/1.117, allocations: 0.6298 MB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.117, allocations: 1.531 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001427/1.118, allocations: 0.7232 MB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.118, allocations: 34.33 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.118, allocations: 6.062 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/1.118, allocations: 7.906 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/1.119, allocations: 108.9 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.119, allocations: 16.45 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.119, allocations: 78.27 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/1.119, allocations: 24.91 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008188/1.12, allocations: 0.4958 MB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004884/1.121, allocations: 499.4 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007279/1.121, allocations: 0.5562 MB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.057e-06/1.121, allocations: 1.469 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001119/1.122, allocations: 0.6487 MB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.123, allocations: 34.2 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.123, allocations: 5.031 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/1.123, allocations: 10.25 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/1.123, allocations: 105.6 kB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.123, allocations: 13.81 kB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/1.124, allocations: 67.89 kB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/1.124, allocations: 25.41 kB / 1.254 GB, free: 184.5 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 (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.000152/1.124, allocations: 215.7 kB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.124, allocations: 98.69 kB / 1.254 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009081/1.125, allocations: 0.4925 MB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.125, allocations: 3.031 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.125, allocations: 4.969 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.125, allocations: 7.297 kB / 1.255 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/1.127, allocations: 1.377 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.127, allocations: 3.875 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.127, allocations: 67.42 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.127, allocations: 2.562 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/1.127, allocations: 10.2 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.127, allocations: 8.25 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.127, allocations: 6.812 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/1.128, allocations: 0.6029 MB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/1.128, allocations: 218.4 kB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.128, allocations: 6.562 kB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/1.128, allocations: 20.44 kB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/1.128, allocations: 33.98 kB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/1.128, allocations: 10.72 kB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007551/1.129, allocations: 0.791 MB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.129, allocations: 0 / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009409/1.13, allocations: 413 kB / 1.258 GB, free: 183.3 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 (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.0003706/1.131, allocations: 179.4 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.132, allocations: 0.8598 MB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.132, allocations: 0 / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/1.132, allocations: 200.5 kB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/1.134, allocations: 456.4 kB / 1.26 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/1.136, allocations: 1.748 MB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/1.137, allocations: 1.177 MB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00101/1.138, allocations: 401.1 kB / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/1.138, allocations: 74.36 kB / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.138, allocations: 0 / 1.263 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03333/1.171, allocations: 17.06 MB / 1.28 GB, free: 176.8 MB / 0.9981 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 -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/jenkins/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