Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_11_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_11_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.0009175/0.0009176, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006441/0.006441, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.59/1.59, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.994/2.994, allocations: 470.6 MB / 0.7442 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004146, allocations: 8.531 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3239, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.2036/0.5275, allocations: 157.2 MB / 1.223 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003446/0.531, allocations: 1.711 MB / 1.225 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.5314, allocations: 11.88 kB / 1.225 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.532, allocations: 131.2 kB / 1.225 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.5334, allocations: 490.7 kB / 1.226 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.5346, allocations: 377.8 kB / 1.226 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003753/0.5384, allocations: 3.406 MB / 1.229 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.5396, allocations: 0.7387 MB / 1.23 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.5413, allocations: 0.8089 MB / 1.231 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009962/0.5423, allocations: 0.7233 MB / 1.232 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.5424, allocations: 32 kB / 1.232 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.544, allocations: 0.8029 MB / 1.232 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.5444, allocations: 278.9 kB / 1.233 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006996/0.5451, allocations: 0.5262 MB / 1.233 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.5469, allocations: 1.374 MB / 1.235 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.547, allocations: 4 kB / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.547, allocations: 0 / 1.235 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.547, allocations: 3.938 kB / 1.235 GB, free: 2.133 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.002184/0.5492, allocations: 1.218 MB / 1.236 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5492, allocations: 12.03 kB / 1.236 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/0.55, allocations: 178.5 kB / 1.236 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5514, allocations: 0.7944 MB / 1.237 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.792e-05/0.5515, allocations: 45 kB / 1.237 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5516, allocations: 56 kB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5529, allocations: 0.6901 MB / 1.237 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.5529, allocations: 0 / 1.237 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.553, allocations: 23.83 kB / 1.237 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.553, allocations: 12 kB / 1.237 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009868/0.554, allocations: 0.5386 MB / 1.238 GB, free: 14.46 MB / 0.9981 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.004198/0.5582, allocations: 3.249 MB / 1.241 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.5588, allocations: 390.5 kB / 1.242 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.5593, allocations: 242.5 kB / 1.242 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.5596, allocations: 194.2 kB / 1.242 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.5597, allocations: 38.5 kB / 1.242 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.5597, allocations: 4 kB / 1.242 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.005244/0.5649, allocations: 1.514 MB / 1.244 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.565, allocations: 59.72 kB / 1.244 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.5665, allocations: 1.073 MB / 1.245 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.5666, allocations: 33.7 kB / 1.245 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.567, allocations: 448.2 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.5672, allocations: 94.59 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.5672, allocations: 25.72 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5674, allocations: 318 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.5677, allocations: 159.9 kB / 1.246 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.5683, allocations: 372.5 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.5689, allocations: 395.1 kB / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.569, allocations: 0 / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002146/0.5711, allocations: 0.8227 MB / 1.247 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/0.5712, allocations: 112.7 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5712, allocations: 0 / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.5728, allocations: 372.3 kB / 1.248 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.5729, allocations: 23.92 kB / 1.248 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.5741, allocations: 1.01 MB / 1.249 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.5748, allocations: 79.69 kB / 1.249 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.5748, allocations: 16 kB / 1.249 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5748, allocations: 4 kB / 1.249 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.576, allocations: 0.4902 MB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.576, allocations: 0 / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.5766, allocations: 206 kB / 1.249 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.5767, allocations: 27.86 kB / 1.249 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6725/1.249, allocations: 3.024 MB / 1.252 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/1.25, allocations: 79.52 kB / 1.252 GB, free: 25.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/1.25, allocations: 11.11 kB / 1.252 GB, free: 25.57 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.0006772/1.251, allocations: 452.1 kB / 1.253 GB, free: 25.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.251, allocations: 97.25 kB / 1.253 GB, free: 25.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/1.253, allocations: 0.7093 MB / 1.254 GB, free: 25.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.253, allocations: 2.969 kB / 1.254 GB, free: 25.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.253, allocations: 1.766 kB / 1.254 GB, free: 25.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.253, allocations: 4.219 kB / 1.254 GB, free: 25.31 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/1.255, allocations: 1.519 MB / 1.255 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.255, allocations: 1.844 kB / 1.255 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.255, allocations: 29.22 kB / 1.255 GB, free: 24.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/1.256, allocations: 218.2 kB / 1.255 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/1.256, allocations: 8.797 kB / 1.255 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008676/1.257, allocations: 0.9837 MB / 1.256 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.257, allocations: 4.625 kB / 1.256 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.258, allocations: 0.8186 MB / 1.257 GB, free: 24.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/1.258, allocations: 217.6 kB / 1.257 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/1.258, allocations: 11.11 kB / 1.257 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/1.259, allocations: 50.11 kB / 1.257 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/1.259, allocations: 23.44 kB / 1.257 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/1.259, allocations: 12 kB / 1.258 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009406/1.26, allocations: 0.7713 MB / 1.258 GB, free: 23.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.26, allocations: 2.844 kB / 1.258 GB, free: 23.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001028/1.261, allocations: 405.5 kB / 1.259 GB, free: 23.86 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.0003833/1.261, allocations: 176.8 kB / 1.259 GB, free: 23.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.263, allocations: 0.7678 MB / 1.26 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.263, allocations: 0 / 1.26 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003844/1.263, allocations: 213.4 kB / 1.26 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/1.265, allocations: 490.5 kB / 1.26 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/1.268, allocations: 2.002 MB / 1.262 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/1.269, allocations: 1.177 MB / 1.263 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007039/1.269, allocations: 205 kB / 1.264 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/1.269, allocations: 57.59 kB / 1.264 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.269, allocations: 0 / 1.264 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.03724/1.307, allocations: 18.93 MB / 1.282 GB, free: 20.83 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches