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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001715/0.001715, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.002007/0.002007, allocations: 187.7 kB / 17.2 MB, free: 5.605 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.902/1.902, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 65.88 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3082, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7888/1.097, allocations: 161.5 MB / 1.108 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003364/1.1, allocations: 1.708 MB / 1.11 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/1.101, allocations: 10.81 kB / 1.11 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006959/1.102, allocations: 162.9 kB / 1.11 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/1.103, allocations: 0.5068 MB / 1.11 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/1.105, allocations: 410.9 kB / 1.111 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009833/1.106, allocations: 0.5707 MB / 1.111 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/1.106, allocations: 179.4 kB / 1.111 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007844/1.107, allocations: 313.9 kB / 1.112 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/1.107, allocations: 153.6 kB / 1.112 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/1.107, allocations: 12.62 kB / 1.112 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/1.109, allocations: 0.6896 MB / 1.113 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/1.109, allocations: 80.69 kB / 1.113 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/1.109, allocations: 119.4 kB / 1.113 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009664/1.11, allocations: 0.4903 MB / 1.113 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/1.11, allocations: 3.938 kB / 1.113 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/1.11, allocations: 1.125 kB / 1.113 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.136e-06/1.11, allocations: 0.7969 kB / 1.113 GB, free: 5.508 MB / 0.8575 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.001104/1.111, allocations: 0.5765 MB / 1.114 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.112, allocations: 9.625 kB / 1.114 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/1.112, allocations: 63.44 kB / 1.114 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/1.112, allocations: 292.5 kB / 1.114 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.112, allocations: 10.77 kB / 1.114 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/1.112, allocations: 13.16 kB / 1.114 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/1.113, allocations: 193.7 kB / 1.114 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.113, allocations: 0 / 1.114 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/1.113, allocations: 5.281 kB / 1.114 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.113, allocations: 7.375 kB / 1.114 GB, free: 20.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/1.113, allocations: 133.2 kB / 1.115 GB, free: 20.72 MB / 0.8731 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.001094/1.114, allocations: 0.787 MB / 1.115 GB, free: 20.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/1.115, allocations: 82.23 kB / 1.115 GB, free: 20.17 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/1.115, allocations: 79.11 kB / 1.115 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/1.115, allocations: 188.1 kB / 1.116 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.115, allocations: 39.14 kB / 1.116 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/1.115, allocations: 0 / 1.116 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007055/1.116, allocations: 220 kB / 1.116 GB, free: 19.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.116, allocations: 56.67 kB / 1.116 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/1.116, allocations: 266.7 kB / 1.116 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/1.116, allocations: 31.39 kB / 1.116 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/1.116, allocations: 143.2 kB / 1.116 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/1.116, allocations: 38.06 kB / 1.116 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/1.116, allocations: 34.89 kB / 1.116 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.117, allocations: 333.3 kB / 1.117 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/1.117, allocations: 46.72 kB / 1.117 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/1.117, allocations: 98.05 kB / 1.117 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/1.117, allocations: 119.7 kB / 1.117 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.117, allocations: 0.8438 kB / 1.117 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003645/1.118, allocations: 159.4 kB / 1.117 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.118, allocations: 7.891 kB / 1.117 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.118, allocations: 7.531 kB / 1.117 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.118, allocations: 6.406 kB / 1.117 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.118, allocations: 22.44 kB / 1.117 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.118, allocations: 3.438 kB / 1.117 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/1.118, allocations: 20.81 kB / 1.117 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/1.118, allocations: 6.031 kB / 1.117 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002183/1.118, allocations: 144.5 kB / 1.117 GB, free: 19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001682/1.119, allocations: 95.3 kB / 1.117 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002969/1.119, allocations: 119.3 kB / 1.118 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/1.119, allocations: 1.062 kB / 1.118 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003839/1.119, allocations: 161.1 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.119, allocations: 5.75 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/1.119, allocations: 1.25 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/1.119, allocations: 0.9375 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/1.119, allocations: 21.98 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.119, allocations: 7.906 kB / 1.118 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/1.12, allocations: 18.09 kB / 1.118 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/1.12, allocations: 12.67 kB / 1.118 GB, free: 18.86 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.12, allocations: 183.1 kB / 1.118 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/1.12, allocations: 23.31 kB / 1.118 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/1.12, allocations: 159.6 kB / 1.118 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.12, allocations: 5.516 kB / 1.118 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.12, allocations: 0.875 kB / 1.118 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.12, allocations: 3.453 kB / 1.118 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/1.121, allocations: 0.5866 MB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.121, allocations: 3.406 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/1.121, allocations: 26.42 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.121, allocations: 4.547 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.121, allocations: 1.531 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.121, allocations: 3.266 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.121, allocations: 6.625 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/1.122, allocations: 300.5 kB / 1.119 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/1.122, allocations: 118.3 kB / 1.119 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/1.122, allocations: 8.688 kB / 1.119 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.122, allocations: 11.34 kB / 1.119 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/1.122, allocations: 15.88 kB / 1.119 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.122, allocations: 6.688 kB / 1.119 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002204/1.122, allocations: 198.1 kB / 1.119 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.122, allocations: 0 / 1.119 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005381/1.123, allocations: 93.97 kB / 1.119 GB, free: 17.84 MB / 0.8731 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 (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.0004495/1.123, allocations: 168.2 kB / 1.12 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000507/1.124, allocations: 167 kB / 1.12 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.124, allocations: 0 / 1.12 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/1.124, allocations: 64.08 kB / 1.12 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/1.125, allocations: 118.1 kB / 1.12 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/1.126, allocations: 475.7 kB / 1.12 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/1.126, allocations: 0.7544 MB / 1.121 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/1.126, allocations: 26.19 kB / 1.121 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of SimCode: time 6.51e-07/1.126, allocations: 0 / 1.121 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.00746/1.134, allocations: 3.694 MB / 1.125 GB, free: 16.39 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches