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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002019/0.002019, allocations: 193.4 kB / 16.14 MB, free: 6.691 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.559/1.559, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.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.487/2.487, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8803, allocations: 140.4 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2203/1.101, allocations: 159.3 MB / 1.104 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00373/1.104, allocations: 1.726 MB / 1.106 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006029/1.105, allocations: 11.94 kB / 1.106 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007605/1.106, allocations: 127.2 kB / 1.106 GB, free: 432 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/1.108, allocations: 494 kB / 1.107 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/1.109, allocations: 377.4 kB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001347/1.11, allocations: 0.7604 MB / 1.108 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/1.111, allocations: 156.4 kB / 1.108 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/1.112, allocations: 294.7 kB / 1.108 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/1.112, allocations: 163.3 kB / 1.108 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/1.112, allocations: 12 kB / 1.108 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/1.113, allocations: 0.7716 MB / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/1.114, allocations: 75.8 kB / 1.109 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/1.114, allocations: 119.3 kB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009265/1.115, allocations: 0.5102 MB / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.115, allocations: 0 / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.423e-06/1.115, allocations: 0 / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.612e-06/1.115, allocations: 0 / 1.11 GB, free: 12.72 MB / 0.8731 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.0009232/1.116, allocations: 0.5878 MB / 1.11 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.116, allocations: 8.031 kB / 1.11 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/1.116, allocations: 51.59 kB / 1.11 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/1.116, allocations: 289.3 kB / 1.111 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.116, allocations: 8 kB / 1.111 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/1.116, allocations: 19.94 kB / 1.111 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/1.117, allocations: 192.7 kB / 1.111 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/1.117, allocations: 4 kB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/1.117, allocations: 4 kB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.117, allocations: 4 kB / 1.111 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/1.117, allocations: 135.8 kB / 1.111 GB, free: 11.32 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.001108/1.118, allocations: 0.7808 MB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/1.119, allocations: 90.58 kB / 1.112 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/1.119, allocations: 76.81 kB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/1.119, allocations: 186.2 kB / 1.112 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.119, allocations: 30.56 kB / 1.112 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/1.119, allocations: 7.938 kB / 1.112 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006964/1.12, allocations: 217.2 kB / 1.112 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.12, allocations: 55.34 kB / 1.113 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/1.12, allocations: 267.4 kB / 1.113 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/1.12, allocations: 33.7 kB / 1.113 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.12, allocations: 147.9 kB / 1.113 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/1.121, allocations: 35.55 kB / 1.113 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/1.121, allocations: 29.64 kB / 1.113 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.121, allocations: 334.8 kB / 1.113 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.121, allocations: 44.81 kB / 1.113 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/1.121, allocations: 97.11 kB / 1.113 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/1.121, allocations: 119.3 kB / 1.114 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.121, allocations: 0 / 1.114 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003581/1.122, allocations: 157.2 kB / 1.114 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.122, allocations: 8.031 kB / 1.114 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.122, allocations: 7.984 kB / 1.114 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.122, allocations: 3.938 kB / 1.114 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/1.122, allocations: 19.98 kB / 1.114 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.122, allocations: 4 kB / 1.114 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/1.122, allocations: 23.83 kB / 1.114 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.122, allocations: 4 kB / 1.114 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002215/1.122, allocations: 156.1 kB / 1.114 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001549/1.123, allocations: 89.05 kB / 1.114 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002446/1.123, allocations: 119.5 kB / 1.114 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/1.123, allocations: 3.938 kB / 1.114 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.00033/1.123, allocations: 157.2 kB / 1.114 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.123, allocations: 9.406 kB / 1.114 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/1.123, allocations: 0 / 1.114 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-06/1.123, allocations: 0 / 1.114 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/1.123, allocations: 27.92 kB / 1.114 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/1.123, allocations: 0 / 1.114 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/1.124, allocations: 24 kB / 1.114 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/1.124, allocations: 4 kB / 1.114 GB, free: 7.75 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.0001243/1.124, allocations: 188.2 kB / 1.115 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/1.124, allocations: 23.72 kB / 1.115 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/1.124, allocations: 167.5 kB / 1.115 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.124, allocations: 8 kB / 1.115 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.124, allocations: 0 / 1.115 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.124, allocations: 0 / 1.115 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/1.125, allocations: 0.5898 MB / 1.115 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.125, allocations: 0 / 1.115 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.125, allocations: 28.05 kB / 1.115 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.125, allocations: 0 / 1.115 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/1.125, allocations: 12 kB / 1.115 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.125, allocations: 4 kB / 1.115 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.125, allocations: 0 / 1.115 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/1.126, allocations: 301.3 kB / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/1.126, allocations: 108.8 kB / 1.116 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/1.126, allocations: 8 kB / 1.116 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/1.126, allocations: 11.98 kB / 1.116 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/1.126, allocations: 19.86 kB / 1.116 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/1.126, allocations: 8 kB / 1.116 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001872/1.126, allocations: 201.9 kB / 1.116 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.126, allocations: 0 / 1.116 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004749/1.127, allocations: 91.84 kB / 1.116 GB, free: 5.852 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.0004277/1.127, allocations: 171 kB / 1.116 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004503/1.128, allocations: 163.8 kB / 1.116 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.128, allocations: 3.938 kB / 1.116 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/1.128, allocations: 60.09 kB / 1.116 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/1.129, allocations: 134.4 kB / 1.117 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/1.13, allocations: 494.8 kB / 1.117 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/1.13, allocations: 0.7599 MB / 1.118 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002407/1.13, allocations: 70.88 kB / 1.118 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/1.13, allocations: 19.44 kB / 1.118 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.13, allocations: 0 / 1.118 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of Templates: time 0.009234/1.139, allocations: 4.282 MB / 1.122 GB, free: 15.71 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches