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.001502/0.001502, allocations: 101.4 kB / 15.98 MB, free: 6.352 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.001661/0.001661, allocations: 199.8 kB / 16.91 MB, free: 6.188 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.265/2.265, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 66.81 kB / 0.8127 GB, free: 33.33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2948, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7185/1.013, allocations: 159.3 MB / 1.105 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003227/1.017, allocations: 1.699 MB / 1.107 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/1.017, allocations: 11.16 kB / 1.107 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006336/1.018, allocations: 134.4 kB / 1.107 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/1.019, allocations: 497.1 kB / 1.108 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/1.021, allocations: 381.3 kB / 1.108 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009554/1.022, allocations: 0.5695 MB / 1.109 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/1.022, allocations: 173.8 kB / 1.109 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007846/1.023, allocations: 315.2 kB / 1.109 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/1.023, allocations: 161.6 kB / 1.109 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/1.023, allocations: 12.72 kB / 1.109 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/1.025, allocations: 0.7129 MB / 1.11 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/1.025, allocations: 80.28 kB / 1.11 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/1.025, allocations: 124 kB / 1.11 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007546/1.026, allocations: 352.1 kB / 1.11 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.026, allocations: 0.5 kB / 1.11 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/1.026, allocations: 0.5312 kB / 1.11 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.283e-06/1.026, allocations: 0 / 1.11 GB, free: 5.52 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.001268/1.027, allocations: 0.5851 MB / 1.111 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.027, allocations: 9.438 kB / 1.111 GB, free: 21.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/1.027, allocations: 58.05 kB / 1.111 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/1.028, allocations: 290 kB / 1.111 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.028, allocations: 9.312 kB / 1.111 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/1.028, allocations: 17.53 kB / 1.111 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/1.028, allocations: 193 kB / 1.112 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.028, allocations: 1.094 kB / 1.112 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/1.028, allocations: 8.531 kB / 1.112 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.028, allocations: 8.188 kB / 1.112 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/1.029, allocations: 136.3 kB / 1.112 GB, free: 20.73 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.001097/1.03, allocations: 0.7793 MB / 1.112 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/1.03, allocations: 83.77 kB / 1.112 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/1.03, allocations: 79.97 kB / 1.113 GB, free: 20.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003813/1.031, allocations: 182.9 kB / 1.113 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.031, allocations: 36.38 kB / 1.113 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/1.031, allocations: 2.609 kB / 1.113 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007087/1.031, allocations: 222.2 kB / 1.113 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.031, allocations: 54.81 kB / 1.113 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/1.032, allocations: 268.9 kB / 1.113 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/1.032, allocations: 27.05 kB / 1.113 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.032, allocations: 147.9 kB / 1.113 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/1.032, allocations: 35.73 kB / 1.114 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/1.032, allocations: 34.89 kB / 1.114 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.032, allocations: 330.7 kB / 1.114 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/1.032, allocations: 47.72 kB / 1.114 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/1.033, allocations: 94.11 kB / 1.114 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/1.033, allocations: 127.9 kB / 1.114 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.033, allocations: 0.6094 kB / 1.114 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003666/1.033, allocations: 160 kB / 1.114 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/1.033, allocations: 5.562 kB / 1.114 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.033, allocations: 5.312 kB / 1.114 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.033, allocations: 6 kB / 1.114 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/1.033, allocations: 22.38 kB / 1.114 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.033, allocations: 1.906 kB / 1.114 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/1.034, allocations: 23.55 kB / 1.114 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/1.034, allocations: 4.844 kB / 1.114 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002029/1.034, allocations: 149.5 kB / 1.114 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001539/1.034, allocations: 93.8 kB / 1.115 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002366/1.034, allocations: 118.3 kB / 1.115 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/1.034, allocations: 0 / 1.115 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003386/1.035, allocations: 156.2 kB / 1.115 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.035, allocations: 6.438 kB / 1.115 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/1.035, allocations: 0.9688 kB / 1.115 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/1.035, allocations: 1.156 kB / 1.115 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.035, allocations: 22.59 kB / 1.115 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.035, allocations: 5.969 kB / 1.115 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/1.035, allocations: 26.64 kB / 1.115 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.035, allocations: 5.922 kB / 1.115 GB, free: 18.88 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.0001042/1.035, allocations: 186.3 kB / 1.115 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/1.035, allocations: 22.72 kB / 1.115 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/1.036, allocations: 163.9 kB / 1.115 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.036, allocations: 5.594 kB / 1.115 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.036, allocations: 2.781 kB / 1.115 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.036, allocations: 5.734 kB / 1.115 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009245/1.036, allocations: 0.5873 MB / 1.116 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.036, allocations: 1.531 kB / 1.116 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/1.037, allocations: 24.98 kB / 1.116 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.037, allocations: 2.844 kB / 1.116 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.037, allocations: 7.25 kB / 1.116 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.037, allocations: 3.094 kB / 1.116 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.037, allocations: 2.594 kB / 1.116 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/1.037, allocations: 305.7 kB / 1.116 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.037, allocations: 115.2 kB / 1.116 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.037, allocations: 6.141 kB / 1.116 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/1.037, allocations: 16.33 kB / 1.116 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/1.038, allocations: 17.12 kB / 1.116 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/1.038, allocations: 5.234 kB / 1.116 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000209/1.038, allocations: 200.8 kB / 1.117 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.038, allocations: 0 / 1.117 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005383/1.038, allocations: 90.72 kB / 1.117 GB, free: 17.85 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.0004506/1.039, allocations: 163.2 kB / 1.117 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005158/1.039, allocations: 173 kB / 1.117 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.039, allocations: 4.125 kB / 1.117 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/1.04, allocations: 61.11 kB / 1.117 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.0007512/1.04, allocations: 122.2 kB / 1.117 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/1.041, allocations: 0.5288 MB / 1.118 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/1.041, allocations: 0.7539 MB / 1.118 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/1.041, allocations: 25.42 kB / 1.118 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/1.041, allocations: 0 / 1.118 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.007614/1.049, allocations: 3.693 MB / 1.122 GB, free: 16.33 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