Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 99.86 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.001621/0.001621, allocations: 177.3 kB / 15.95 MB, free: 216 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.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.2 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005738/0.0005738, allocations: 12 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.8456, allocations: 142.3 MB / 0.9535 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1909/1.037, allocations: 135.6 MB / 1.086 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004063/1.041, allocations: 1.62 MB / 1.088 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/1.041, allocations: 11.88 kB / 1.088 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/1.043, allocations: 179.2 kB / 1.088 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/1.045, allocations: 0.4907 MB / 1.088 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/1.047, allocations: 431.1 kB / 1.089 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001004/1.048, allocations: 368.1 kB / 1.089 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/1.048, allocations: 132.6 kB / 1.089 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/1.049, allocations: 227.2 kB / 1.089 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/1.049, allocations: 95.56 kB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/1.049, allocations: 8 kB / 1.089 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/1.05, allocations: 387.4 kB / 1.09 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/1.05, allocations: 71.78 kB / 1.09 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/1.05, allocations: 69.58 kB / 1.09 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/1.051, allocations: 287.2 kB / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.051, allocations: 0 / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.394e-06/1.051, allocations: 0 / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.051, allocations: 0 / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.00105/1.052, allocations: 0.5294 MB / 1.091 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.052, allocations: 12.03 kB / 1.091 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/1.052, allocations: 51.59 kB / 1.091 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/1.053, allocations: 289.4 kB / 1.091 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/1.053, allocations: 8 kB / 1.091 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/1.053, allocations: 16 kB / 1.091 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/1.053, allocations: 200.1 kB / 1.091 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.054, allocations: 0 / 1.091 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/1.054, allocations: 8 kB / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/1.054, allocations: 4 kB / 1.091 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/1.054, allocations: 139.8 kB / 1.091 GB, free: 2.504 MB / 0.8419 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.001345/1.055, allocations: 0.7887 MB / 1.092 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/1.056, allocations: 94.58 kB / 1.092 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.549e-05/1.056, allocations: 11.94 kB / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.056, allocations: 34.56 kB / 1.092 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/1.056, allocations: 4 kB / 1.092 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0008019/1.056, allocations: 229.4 kB / 1.093 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.057, allocations: 55.41 kB / 1.093 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/1.057, allocations: 267 kB / 1.093 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/1.057, allocations: 25.7 kB / 1.093 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.057, allocations: 144 kB / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/1.057, allocations: 39.39 kB / 1.093 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/1.057, allocations: 4 kB / 1.093 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.057, allocations: 342.7 kB / 1.093 GB, free: 368 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/1.057, allocations: 43.97 kB / 1.093 GB, free: 324 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/1.057, allocations: 93.47 kB / 1.093 GB, free: 212 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/1.058, allocations: 60.14 kB / 1.094 GB, free: 152 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.058, allocations: 0 / 1.094 GB, free: 152 kB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003742/1.058, allocations: 173.3 kB / 1.094 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/1.058, allocations: 365 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.058, allocations: 0 / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.058, allocations: 0 / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.058, allocations: 23.98 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.058, allocations: 0 / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/1.059, allocations: 31.88 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/1.059, allocations: 8 kB / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.059, allocations: 4 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000291/1.059, allocations: 115.8 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/1.059, allocations: 0 / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/1.059, allocations: 4 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/1.059, allocations: 24.02 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.059, allocations: 7.953 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/1.059, allocations: 27.81 kB / 1.094 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/1.059, allocations: 8 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0002037/1.06, allocations: 217 kB / 1.094 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/1.06, allocations: 27.72 kB / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/1.06, allocations: 167.3 kB / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.06, allocations: 0 / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.06, allocations: 11.89 kB / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.06, allocations: 0 / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/1.061, allocations: 0.5976 MB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.061, allocations: 64 / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/1.061, allocations: 31.92 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.061, allocations: 4 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/1.061, allocations: 8 kB / 1.095 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.061, allocations: 0 / 1.095 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.061, allocations: 4.328 kB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/1.062, allocations: 393.3 kB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/1.062, allocations: 113 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/1.062, allocations: 4 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/1.062, allocations: 27.91 kB / 1.096 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/1.062, allocations: 11.94 kB / 1.096 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/1.062, allocations: 7.953 kB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002038/1.063, allocations: 197.9 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.063, allocations: 0 / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005076/1.063, allocations: 91.84 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004378/1.064, allocations: 165.3 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004846/1.064, allocations: 183.7 kB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.064, allocations: 0 / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/1.064, allocations: 72.45 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/1.065, allocations: 121.3 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/1.066, allocations: 0.4972 MB / 1.097 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/1.066, allocations: 0.7716 MB / 1.098 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002477/1.067, allocations: 66.23 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/1.067, allocations: 23.38 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of SimCode: time 1.91e-07/1.067, allocations: 0 / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.009606/1.076, allocations: 4.126 MB / 1.102 GB, free: 7.238 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches