Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00146/0.00146, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.881/2.881, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.52 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1955/0.5033, allocations: 159.3 MB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003255/0.5066, allocations: 1.734 MB / 1.209 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.5072, allocations: 15.88 kB / 1.209 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.5079, allocations: 131.2 kB / 1.209 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.5094, allocations: 490 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.5106, allocations: 381 kB / 1.21 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00343/0.5141, allocations: 3.398 MB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.5153, allocations: 0.7664 MB / 1.214 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.5169, allocations: 0.8129 MB / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.5184, allocations: 0.7389 MB / 1.216 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.5187, allocations: 36 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.5208, allocations: 0.8029 MB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.5213, allocations: 290.9 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009059/0.5222, allocations: 0.5128 MB / 1.217 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.5241, allocations: 1.382 MB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5242, allocations: 0 / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5242, allocations: 4 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.343e-05/0.5242, allocations: 4 kB / 1.219 GB, free: 13.52 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002772/0.527, allocations: 1.389 MB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5271, allocations: 12.03 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000949/0.528, allocations: 186.5 kB / 1.22 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.5297, allocations: 0.802 MB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.5298, allocations: 41 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5299, allocations: 56 kB / 1.221 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.5312, allocations: 0.69 MB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5313, allocations: 4 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/0.5313, allocations: 20 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.5313, allocations: 12 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/0.5322, allocations: 0.5152 MB / 1.222 GB, free: 9.688 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.003603/0.5358, allocations: 3.23 MB / 1.226 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.5364, allocations: 407.4 kB / 1.226 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.5368, allocations: 237.4 kB / 1.226 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.5371, allocations: 194.2 kB / 1.226 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.5372, allocations: 34.56 kB / 1.226 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 2.345e-06/0.5372, allocations: 0 / 1.226 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.005177/0.5424, allocations: 1.492 MB / 1.228 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.5424, allocations: 59.34 kB / 1.228 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.5438, allocations: 1.069 MB / 1.229 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.5439, allocations: 33.7 kB / 1.229 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.5443, allocations: 440.5 kB / 1.229 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.5444, allocations: 98.59 kB / 1.23 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.5445, allocations: 69.61 kB / 1.23 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5446, allocations: 318 kB / 1.23 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.5449, allocations: 168.5 kB / 1.23 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.5454, allocations: 360.4 kB / 1.23 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.546, allocations: 380.6 kB / 1.231 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.546, allocations: 0 / 1.231 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002064/0.5481, allocations: 0.8261 MB / 1.232 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5481, allocations: 5.094 kB / 1.232 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5481, allocations: 0 / 1.232 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.5496, allocations: 364.4 kB / 1.232 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5498, allocations: 16 kB / 1.232 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009913/0.5508, allocations: 1.006 MB / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.5514, allocations: 79.7 kB / 1.233 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.5515, allocations: 12 kB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006074/0.5521, allocations: 449.1 kB / 1.233 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003676/0.5525, allocations: 321.8 kB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004808/0.553, allocations: 305.6 kB / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.553, allocations: 0 / 1.234 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001165/0.5542, allocations: 0.5929 MB / 1.235 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.5542, allocations: 12 kB / 1.235 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/0.5542, allocations: 0 / 1.235 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.5547, allocations: 202.2 kB / 1.235 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.5549, allocations: 20.05 kB / 1.235 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.5585, allocations: 3.028 MB / 1.238 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.5591, allocations: 72.16 kB / 1.238 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.5591, allocations: 12 kB / 1.238 GB, free: 9 MB / 0.9981 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.5593, allocations: 196.4 kB / 1.238 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5594, allocations: 98.72 kB / 1.238 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.5607, allocations: 0.7103 MB / 1.239 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5607, allocations: 8 kB / 1.239 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.5607, allocations: 0 / 1.239 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.5607, allocations: 3.984 kB / 1.239 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.563, allocations: 1.502 MB / 1.24 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.563, allocations: 4 kB / 1.24 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5631, allocations: 23.92 kB / 1.24 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.5636, allocations: 222.8 kB / 1.241 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.5637, allocations: 11.98 kB / 1.241 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008795/0.5645, allocations: 0.9776 MB / 1.242 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5646, allocations: 7.969 kB / 1.242 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.5657, allocations: 0.7998 MB / 1.242 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.566, allocations: 215.8 kB / 1.243 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.785e-05/0.5661, allocations: 8 kB / 1.243 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.5665, allocations: 47.95 kB / 1.243 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.5666, allocations: 23.91 kB / 1.243 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.5666, allocations: 8 kB / 1.243 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009681/0.5676, allocations: 0.7708 MB / 1.243 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5676, allocations: 0 / 1.243 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001013/0.5686, allocations: 407.3 kB / 1.244 GB, free: 2.777 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003881/0.569, allocations: 182.4 kB / 1.244 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.5704, allocations: 0.7534 MB / 1.245 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5705, allocations: 0 / 1.245 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.5709, allocations: 221.2 kB / 1.245 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.573, allocations: 482.7 kB / 1.245 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4774/1.05, allocations: 1.973 MB / 1.247 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/1.051, allocations: 1.181 MB / 1.248 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008871/1.052, allocations: 202.8 kB / 1.249 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.052, allocations: 60.62 kB / 1.249 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.052, allocations: 0 / 1.249 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03384/1.086, allocations: 19.08 MB / 1.267 GB, free: 189.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches