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.001316/0.001316, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 196 kB / 16.79 MB, free: 6.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.343/2.343, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.89 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6508, allocations: 140.4 MB / 0.9496 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1729/0.8238, allocations: 159.3 MB / 1.105 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.827, allocations: 1.72 MB / 1.107 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.8274, allocations: 11.88 kB / 1.107 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.8281, allocations: 131.2 kB / 1.107 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.8296, allocations: 0.4903 MB / 1.107 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.8307, allocations: 368.5 kB / 1.108 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009069/0.8316, allocations: 0.7565 MB / 1.108 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.8319, allocations: 156.4 kB / 1.109 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.8325, allocations: 294.8 kB / 1.109 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.8327, allocations: 163.2 kB / 1.109 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.8327, allocations: 8 kB / 1.109 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.834, allocations: 0.7794 MB / 1.11 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.8341, allocations: 71.8 kB / 1.11 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.8342, allocations: 119.3 kB / 1.11 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.8347, allocations: 347.3 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8347, allocations: 0 / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.11e-07/0.8347, allocations: 0 / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8347, allocations: 0 / 1.11 GB, free: 13.04 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.0008667/0.8356, allocations: 0.5761 MB / 1.111 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.8357, allocations: 16.03 kB / 1.111 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.836, allocations: 55.59 kB / 1.111 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.8364, allocations: 289.3 kB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.8364, allocations: 12 kB / 1.111 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.8365, allocations: 12 kB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.8368, allocations: 192.7 kB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.8369, allocations: 7.938 kB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.8369, allocations: 12 kB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8369, allocations: 4 kB / 1.112 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.8372, allocations: 131.8 kB / 1.112 GB, free: 11.64 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.0009932/0.8382, allocations: 0.7769 MB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.8385, allocations: 82.53 kB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.8386, allocations: 80.86 kB / 1.113 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.8389, allocations: 194.1 kB / 1.113 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.839, allocations: 30.56 kB / 1.113 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.839, allocations: 0 / 1.113 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006777/0.8397, allocations: 225.4 kB / 1.113 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.8397, allocations: 59.39 kB / 1.113 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.84, allocations: 271 kB / 1.113 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.84, allocations: 25.7 kB / 1.113 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.8401, allocations: 151.9 kB / 1.113 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.8401, allocations: 27.56 kB / 1.113 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.8402, allocations: 33.7 kB / 1.114 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8403, allocations: 334.8 kB / 1.114 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.8405, allocations: 44.83 kB / 1.114 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.8406, allocations: 89.05 kB / 1.114 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.8409, allocations: 123.4 kB / 1.114 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8409, allocations: 0 / 1.114 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000318/0.8412, allocations: 165.2 kB / 1.114 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.8412, allocations: 8 kB / 1.114 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8412, allocations: 4.031 kB / 1.114 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8413, allocations: 3.938 kB / 1.114 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.8414, allocations: 23.98 kB / 1.114 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.8414, allocations: 0 / 1.114 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.8416, allocations: 23.83 kB / 1.114 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.8416, allocations: 8 kB / 1.114 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001866/0.8418, allocations: 152 kB / 1.114 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001451/0.842, allocations: 89.11 kB / 1.115 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002189/0.8422, allocations: 119.3 kB / 1.115 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.8422, allocations: 4 kB / 1.115 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003022/0.8425, allocations: 157.3 kB / 1.115 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.8425, allocations: 4 kB / 1.115 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8425, allocations: 4 kB / 1.115 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/0.8425, allocations: 3.984 kB / 1.115 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.8427, allocations: 27.86 kB / 1.115 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-06/0.8427, allocations: 0 / 1.115 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.8428, allocations: 20.48 kB / 1.115 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.8429, allocations: 8 kB / 1.115 GB, free: 8.062 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.00011/0.843, allocations: 184.3 kB / 1.115 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.843, allocations: 24 kB / 1.115 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.8434, allocations: 163.2 kB / 1.115 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.8434, allocations: 3.984 kB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8434, allocations: 4 kB / 1.115 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8434, allocations: 3.938 kB / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.8443, allocations: 0.5977 MB / 1.116 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8443, allocations: 4 kB / 1.116 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.8444, allocations: 23.92 kB / 1.116 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.8444, allocations: 4 kB / 1.116 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.8444, allocations: 8 kB / 1.116 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8444, allocations: 0 / 1.116 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8444, allocations: 4 kB / 1.116 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.8448, allocations: 301.2 kB / 1.116 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.8449, allocations: 112.8 kB / 1.116 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.8449, allocations: 0 / 1.116 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.8451, allocations: 23.97 kB / 1.116 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.8452, allocations: 7.938 kB / 1.116 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.8452, allocations: 8 kB / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001641/0.8454, allocations: 197.9 kB / 1.116 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8454, allocations: 0 / 1.116 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004403/0.8458, allocations: 99.84 kB / 1.117 GB, free: 6.16 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.0003992/0.8462, allocations: 154 kB / 1.117 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.8467, allocations: 168.2 kB / 1.117 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8467, allocations: 4.125 kB / 1.117 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.8468, allocations: 63.98 kB / 1.117 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.8477, allocations: 121.2 kB / 1.117 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.8484, allocations: 0.5322 MB / 1.118 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.8487, allocations: 0.7521 MB / 1.118 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.8488, allocations: 19.44 kB / 1.118 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.8488, allocations: 4 kB / 1.118 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of Templates: time 0.005734/0.8545, allocations: 3.754 MB / 1.122 GB, free: 0.5547 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