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.001683/0.001683, allocations: 110 kB / 16.41 MB, free: 6.477 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.001799/0.001799, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.15 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.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9102, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1879/1.098, allocations: 161.5 MB / 1.246 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003275/1.101, allocations: 1.703 MB / 1.248 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/1.102, allocations: 10.44 kB / 1.248 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006512/1.103, allocations: 173.6 kB / 1.248 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/1.104, allocations: 0.5268 MB / 1.249 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/1.106, allocations: 429.4 kB / 1.249 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001048/1.107, allocations: 0.5748 MB / 1.25 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/1.107, allocations: 176.5 kB / 1.25 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008149/1.108, allocations: 330.7 kB / 1.25 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/1.108, allocations: 155.2 kB / 1.25 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/1.108, allocations: 12 kB / 1.25 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/1.11, allocations: 0.6976 MB / 1.251 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/1.11, allocations: 75.78 kB / 1.251 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/1.11, allocations: 119.3 kB / 1.251 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/1.111, allocations: 0.4887 MB / 1.252 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.111, allocations: 7.938 kB / 1.252 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/1.111, allocations: 0 / 1.252 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.181e-05/1.111, allocations: 0 / 1.252 GB, free: 6.793 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009966/1.112, allocations: 0.5839 MB / 1.252 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.112, allocations: 8.031 kB / 1.252 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/1.112, allocations: 47.69 kB / 1.252 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/1.113, allocations: 309.3 kB / 1.253 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/1.113, allocations: 12 kB / 1.253 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/1.113, allocations: 16 kB / 1.253 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/1.113, allocations: 188.1 kB / 1.253 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.113, allocations: 7.938 kB / 1.253 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/1.113, allocations: 11.98 kB / 1.253 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/1.114, allocations: 4 kB / 1.253 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/1.114, allocations: 131.8 kB / 1.253 GB, free: 5.383 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.001078/1.115, allocations: 0.7807 MB / 1.254 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/1.115, allocations: 78.53 kB / 1.254 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/1.115, allocations: 84.86 kB / 1.254 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/1.116, allocations: 186.2 kB / 1.254 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.116, allocations: 38.5 kB / 1.254 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/1.116, allocations: 0 / 1.254 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000666/1.116, allocations: 221.2 kB / 1.254 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/1.116, allocations: 55.41 kB / 1.254 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/1.117, allocations: 267.4 kB / 1.255 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/1.117, allocations: 29.7 kB / 1.255 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.117, allocations: 144 kB / 1.255 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/1.117, allocations: 31.55 kB / 1.255 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/1.117, allocations: 37.56 kB / 1.255 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.117, allocations: 334.8 kB / 1.255 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/1.117, allocations: 44.83 kB / 1.255 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/1.117, allocations: 89.11 kB / 1.255 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/1.118, allocations: 123.3 kB / 1.255 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.118, allocations: 0 / 1.255 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003388/1.118, allocations: 161.3 kB / 1.256 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.118, allocations: 8 kB / 1.256 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.118, allocations: 0 / 1.256 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.118, allocations: 7.969 kB / 1.256 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.118, allocations: 23.98 kB / 1.256 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/1.118, allocations: 0 / 1.256 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/1.118, allocations: 23.83 kB / 1.256 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/1.118, allocations: 7.984 kB / 1.256 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001918/1.119, allocations: 150.5 kB / 1.256 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001478/1.119, allocations: 93.05 kB / 1.256 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002353/1.119, allocations: 119.3 kB / 1.256 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/1.119, allocations: 0 / 1.256 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003089/1.119, allocations: 157.3 kB / 1.256 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.119, allocations: 7.984 kB / 1.256 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/1.119, allocations: 3.938 kB / 1.256 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/1.119, allocations: 4 kB / 1.256 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.119, allocations: 23.92 kB / 1.256 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.119, allocations: 0 / 1.256 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/1.12, allocations: 19.92 kB / 1.256 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/1.12, allocations: 4 kB / 1.256 GB, free: 1.82 MB / 0.9825 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.0001137/1.12, allocations: 188.3 kB / 1.256 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/1.12, allocations: 23.72 kB / 1.256 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/1.12, allocations: 167.5 kB / 1.257 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.12, allocations: 4 kB / 1.257 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.12, allocations: 0 / 1.257 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.12, allocations: 0 / 1.257 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/1.121, allocations: 0.594 MB / 1.257 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.121, allocations: 4 kB / 1.257 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.121, allocations: 36.14 kB / 1.257 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/1.121, allocations: 0 / 1.257 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.121, allocations: 4 kB / 1.257 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/1.121, allocations: 4 kB / 1.257 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.121, allocations: 0 / 1.257 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/1.122, allocations: 297.1 kB / 1.257 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/1.122, allocations: 112.8 kB / 1.258 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/1.122, allocations: 4 kB / 1.258 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/1.122, allocations: 15.98 kB / 1.258 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/1.122, allocations: 19.86 kB / 1.258 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/1.122, allocations: 4 kB / 1.258 GB, free: 212 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001896/1.122, allocations: 197.9 kB / 1.258 GB, free: 12 kB / 0.9825 GB Notification: Performance of sort global known variables: time 4.71e-07/1.122, allocations: 0 / 1.258 GB, free: 12 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004848/1.123, allocations: 95.89 kB / 1.258 GB, free: 15.91 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: 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.0004312/1.123, allocations: 167.9 kB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004645/1.124, allocations: 167.7 kB / 1.258 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.124, allocations: 0 / 1.258 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/1.124, allocations: 65.25 kB / 1.258 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/1.125, allocations: 122.2 kB / 1.258 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/1.125, allocations: 483 kB / 1.259 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/1.126, allocations: 0.7519 MB / 1.26 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/1.126, allocations: 23.44 kB / 1.26 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.126, allocations: 4 kB / 1.26 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of Templates: time 0.006486/1.132, allocations: 3.706 MB / 1.263 GB, free: 10.4 MB / 0.9981 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