Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.0009971, 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.00119/0.00119, allocations: 187 kB / 16.92 MB, free: 6.684 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 9.375 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1565/0.4861, allocations: 157.3 MB / 1.213 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005154/0.4913, allocations: 3.587 MB / 1.216 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.4918, allocations: 11.88 kB / 1.216 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.4924, allocations: 135.2 kB / 1.217 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.4938, allocations: 0.4941 MB / 1.217 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.495, allocations: 389.2 kB / 1.217 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.4984, allocations: 3.515 MB / 1.221 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.5012, allocations: 2.23 MB / 1.223 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.5032, allocations: 0.9102 MB / 1.224 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.5044, allocations: 0.7078 MB / 1.225 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.5046, allocations: 32 kB / 1.225 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.5063, allocations: 0.799 MB / 1.225 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.5067, allocations: 278.9 kB / 1.226 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008872/0.5076, allocations: 0.5377 MB / 1.226 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.5089, allocations: 1.021 MB / 1.227 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5089, allocations: 0 / 1.227 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5089, allocations: 0 / 1.227 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.934e-05/0.5089, allocations: 0 / 1.227 GB, free: 8.41 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.002378/0.5113, allocations: 1.299 MB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5114, allocations: 11.97 kB / 1.229 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008726/0.5123, allocations: 194.5 kB / 1.229 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.5136, allocations: 0.7984 MB / 1.229 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.5136, allocations: 41 kB / 1.23 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5137, allocations: 60 kB / 1.23 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.515, allocations: 0.8315 MB / 1.23 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.515, allocations: 4 kB / 1.23 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.5151, allocations: 20 kB / 1.23 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5151, allocations: 16 kB / 1.23 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.5162, allocations: 0.5773 MB / 1.231 GB, free: 4.363 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.004264/0.5205, allocations: 4.247 MB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.5212, allocations: 454.1 kB / 1.236 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.5217, allocations: 355.5 kB / 1.236 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.522, allocations: 194.2 kB / 1.236 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005367/0.5226, allocations: 323.1 kB / 1.236 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003152/0.5229, allocations: 35.69 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.105e-06/0.5229, allocations: 4 kB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001486/0.5244, allocations: 0.7203 MB / 1.237 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.5245, allocations: 81.11 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.526, allocations: 1.163 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.526, allocations: 33.7 kB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.5264, allocations: 488.5 kB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5265, allocations: 118.4 kB / 1.239 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.5266, allocations: 41.7 kB / 1.239 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5267, allocations: 326 kB / 1.239 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.5271, allocations: 236.9 kB / 1.24 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.5278, allocations: 0.5382 MB / 1.24 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.5287, allocations: 0.694 MB / 1.241 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.5287, allocations: 4 kB / 1.241 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001284/0.53, allocations: 0.7747 MB / 1.241 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.5302, allocations: 279.4 kB / 1.242 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5302, allocations: 8 kB / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.5303, allocations: 11.94 kB / 1.242 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.5308, allocations: 119.7 kB / 1.242 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.5308, allocations: 12 kB / 1.242 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008507/0.5317, allocations: 80.56 kB / 1.242 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.5318, allocations: 24 kB / 1.242 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5318, allocations: 4.109 kB / 1.242 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009569/0.5327, allocations: 0.5869 MB / 1.243 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5328, allocations: 12 kB / 1.243 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.5328, allocations: 8 kB / 1.243 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.5332, allocations: 116.4 kB / 1.243 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5333, allocations: 8 kB / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/0.5341, allocations: 79.84 kB / 1.243 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.5341, allocations: 24 kB / 1.243 GB, free: 7.523 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 (55): * Single equations (assignments): 54 * 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.0004698/0.5346, allocations: 472.6 kB / 1.243 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.5347, allocations: 102.7 kB / 1.243 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.5358, allocations: 0.5544 MB / 1.244 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5358, allocations: 0 / 1.244 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5358, allocations: 4 kB / 1.244 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5358, allocations: 3.984 kB / 1.244 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.538, allocations: 1.506 MB / 1.245 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.538, allocations: 4 kB / 1.245 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.5383, allocations: 75.83 kB / 1.245 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5383, allocations: 0 / 1.245 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.5384, allocations: 16.22 kB / 1.245 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5384, allocations: 8.156 kB / 1.245 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5384, allocations: 4 kB / 1.245 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.5393, allocations: 0.6625 MB / 1.246 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.5397, allocations: 243.6 kB / 1.246 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5398, allocations: 8 kB / 1.246 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.5405, allocations: 59.88 kB / 1.246 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.5406, allocations: 35.95 kB / 1.246 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.5406, allocations: 12 kB / 1.246 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001039/0.5417, allocations: 0.8159 MB / 1.247 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5417, allocations: 0 / 1.247 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001197/0.5429, allocations: 423.4 kB / 1.248 GB, free: 2.383 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 (33): * Single equations (assignments): 31 * 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.0004787/0.5434, allocations: 184.7 kB / 1.248 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.5449, allocations: 0.9176 MB / 1.249 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5449, allocations: 0 / 1.249 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.5453, allocations: 233.9 kB / 1.249 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/0.5489, allocations: 0.6366 MB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5666/1.115, allocations: 2.123 MB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/1.116, allocations: 1.182 MB / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/1.117, allocations: 81.14 kB / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.443e-06/1.117, allocations: 0 / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03792/1.155, allocations: 17.03 MB / 1.27 GB, free: 186.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches