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.001231/0.001231, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001614/0.001614, allocations: 177.3 kB / 15.94 MB, free: 228 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.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.472/2.472, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 8 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6325, allocations: 153.6 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1433/0.7759, allocations: 135.7 MB / 1.153 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.7805, allocations: 3.126 MB / 1.156 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.7809, allocations: 7.938 kB / 1.156 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.7816, allocations: 179.2 kB / 1.157 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.783, allocations: 0.514 MB / 1.157 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.7843, allocations: 455 kB / 1.157 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.7862, allocations: 1.506 MB / 1.159 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.7889, allocations: 2.192 MB / 1.161 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.7903, allocations: 0.7007 MB / 1.162 GB, free: 380 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.791, allocations: 493.8 kB / 1.162 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.7911, allocations: 32 kB / 1.162 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/0.7921, allocations: 423.3 kB / 1.163 GB, free: 15.44 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.7924, allocations: 255.1 kB / 1.163 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.7927, allocations: 229.1 kB / 1.163 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.7937, allocations: 0.9936 MB / 1.164 GB, free: 13.97 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7938, allocations: 0 / 1.164 GB, free: 13.97 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7938, allocations: 0 / 1.164 GB, free: 13.97 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.7938, allocations: 0 / 1.164 GB, free: 13.97 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002196/0.796, allocations: 1.313 MB / 1.165 GB, free: 12.6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.796, allocations: 12.03 kB / 1.165 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.7969, allocations: 186.4 kB / 1.166 GB, free: 12.4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.7985, allocations: 0.8041 MB / 1.166 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.7985, allocations: 41 kB / 1.166 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.7986, allocations: 67.92 kB / 1.166 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.7998, allocations: 0.8238 MB / 1.167 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.7998, allocations: 0 / 1.167 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.7999, allocations: 24 kB / 1.167 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.7999, allocations: 15.94 kB / 1.167 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009988/0.8009, allocations: 0.5657 MB / 1.168 GB, free: 9.93 MB / 0.92 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.004211/0.8051, allocations: 4.252 MB / 1.172 GB, free: 5.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007659/0.8059, allocations: 458.8 kB / 1.172 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.806, allocations: 15.97 kB / 1.172 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005729/0.8066, allocations: 339.9 kB / 1.173 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002519/0.8068, allocations: 35.59 kB / 1.173 GB, free: 4.551 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.444e-06/0.8068, allocations: 0 / 1.173 GB, free: 4.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001501/0.8083, allocations: 0.7131 MB / 1.174 GB, free: 3.832 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.8084, allocations: 114.8 kB / 1.174 GB, free: 3.695 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.8099, allocations: 1.151 MB / 1.175 GB, free: 2.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.81, allocations: 41.64 kB / 1.175 GB, free: 2.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.8103, allocations: 488.4 kB / 1.175 GB, free: 2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.8104, allocations: 118.4 kB / 1.175 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.8105, allocations: 4 kB / 1.175 GB, free: 1.879 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8106, allocations: 330 kB / 1.176 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.811, allocations: 209 kB / 1.176 GB, free: 1.344 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.8117, allocations: 0.5225 MB / 1.176 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.8122, allocations: 313.4 kB / 1.177 GB, free: 388 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8122, allocations: 0 / 1.177 GB, free: 388 kB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001147/0.8134, allocations: 0.7216 MB / 1.177 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008229/0.8142, allocations: 2.14 MB / 1.18 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.8142, allocations: 8 kB / 1.18 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8143, allocations: 8 kB / 1.18 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.8148, allocations: 119.8 kB / 1.18 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.8148, allocations: 15.92 kB / 1.18 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008399/0.8157, allocations: 87.75 kB / 1.18 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.8157, allocations: 24 kB / 1.18 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.8157, allocations: 6.031 kB / 1.18 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000947/0.8167, allocations: 0.5918 MB / 1.18 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8167, allocations: 7.938 kB / 1.18 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.8167, allocations: 8 kB / 1.18 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.8172, allocations: 111.9 kB / 1.18 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.8172, allocations: 15.89 kB / 1.18 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.818, allocations: 87.97 kB / 1.181 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.8181, allocations: 24 kB / 1.181 GB, free: 12.23 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 (55): * Single equations (assignments): 54 * 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.0005111/0.8186, allocations: 472.7 kB / 1.181 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.8187, allocations: 102.8 kB / 1.181 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.8196, allocations: 0.5291 MB / 1.182 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8197, allocations: 7.953 kB / 1.182 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8197, allocations: 3.938 kB / 1.182 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8197, allocations: 0 / 1.182 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.8212, allocations: 1.165 MB / 1.183 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8213, allocations: 4 kB / 1.183 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.8216, allocations: 67.89 kB / 1.183 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.8216, allocations: 4 kB / 1.183 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.8216, allocations: 16.2 kB / 1.183 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8217, allocations: 4 kB / 1.183 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8217, allocations: 7.938 kB / 1.183 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/0.8226, allocations: 0.6857 MB / 1.184 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.8229, allocations: 227.8 kB / 1.184 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.8231, allocations: 8 kB / 1.184 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.8237, allocations: 67.77 kB / 1.184 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.8238, allocations: 39.84 kB / 1.184 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.8238, allocations: 12 kB / 1.184 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000972/0.8248, allocations: 0.812 MB / 1.185 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8248, allocations: 0 / 1.185 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001025/0.8258, allocations: 431.4 kB / 1.185 GB, free: 7.398 MB / 0.9356 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 (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.0003663/0.8262, allocations: 176.8 kB / 1.185 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.8276, allocations: 0.9025 MB / 1.186 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8276, allocations: 0 / 1.186 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.828, allocations: 235.7 kB / 1.186 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.831, allocations: 0.6444 MB / 1.187 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.8336, allocations: 1.976 MB / 1.189 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.8343, allocations: 1.201 MB / 1.19 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001112/0.8354, allocations: 432 kB / 1.191 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.8356, allocations: 79.42 kB / 1.191 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of SimCode: time 1.773e-06/0.8356, allocations: 0 / 1.191 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of Templates: time 0.03095/0.8666, allocations: 18.62 MB / 1.209 GB, free: 15.27 MB / 0.9669 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","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches