Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001054/0.001054, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001464/0.001464, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.024/3.024, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8.656 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1707/0.4934, allocations: 146.7 MB / 1.201 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.4963, allocations: 1.602 MB / 1.203 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.4966, allocations: 11.94 kB / 1.203 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.4971, allocations: 103.2 kB / 1.203 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009824/0.4981, allocations: 385.2 kB / 1.203 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000988/0.4991, allocations: 358.9 kB / 1.204 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008121/0.4999, allocations: 0.6473 MB / 1.204 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.5002, allocations: 132.5 kB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.5008, allocations: 258.8 kB / 1.205 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.501, allocations: 159.3 kB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.5011, allocations: 4 kB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009524/0.502, allocations: 0.5262 MB / 1.205 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.5021, allocations: 71.72 kB / 1.205 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.5022, allocations: 69.58 kB / 1.205 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.5027, allocations: 331.2 kB / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5027, allocations: 0 / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5027, allocations: 0 / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5027, allocations: 0 / 1.206 GB, free: 13.57 MB / 0.9669 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.0007177/0.5034, allocations: 0.545 MB / 1.206 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5035, allocations: 8.031 kB / 1.206 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.5038, allocations: 51.69 kB / 1.206 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.5041, allocations: 281.5 kB / 1.207 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.5042, allocations: 11.94 kB / 1.207 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.5042, allocations: 16 kB / 1.207 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.5046, allocations: 208.6 kB / 1.207 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.5046, allocations: 0 / 1.207 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.5046, allocations: 4 kB / 1.207 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5046, allocations: 4 kB / 1.207 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.5049, allocations: 139.8 kB / 1.207 GB, free: 12.21 MB / 0.9669 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.00104/0.506, allocations: 0.7848 MB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.5062, allocations: 90.47 kB / 1.208 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.5064, allocations: 80.83 kB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.5067, allocations: 194.2 kB / 1.208 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5067, allocations: 34.56 kB / 1.208 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.5068, allocations: 0 / 1.208 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006351/0.5074, allocations: 237.2 kB / 1.208 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5074, allocations: 59.39 kB / 1.208 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.5077, allocations: 263 kB / 1.209 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.5077, allocations: 25.7 kB / 1.209 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5078, allocations: 147.9 kB / 1.209 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.5079, allocations: 31.56 kB / 1.209 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.5079, allocations: 4 kB / 1.209 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.508, allocations: 330.8 kB / 1.209 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.5082, allocations: 47.97 kB / 1.209 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5083, allocations: 101 kB / 1.209 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.5085, allocations: 59.97 kB / 1.209 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5085, allocations: 0 / 1.209 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003227/0.5088, allocations: 169.2 kB / 1.21 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.5089, allocations: 115.5 kB / 1.21 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5089, allocations: 0 / 1.21 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5089, allocations: 0 / 1.21 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.5091, allocations: 31.98 kB / 1.21 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5091, allocations: 0 / 1.21 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.5092, allocations: 31.81 kB / 1.21 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.5093, allocations: 4 kB / 1.21 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/0.5093, allocations: 5.719 kB / 1.21 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002557/0.5096, allocations: 128 kB / 1.21 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.5096, allocations: 0 / 1.21 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-06/0.5096, allocations: 3.938 kB / 1.21 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5097, allocations: 23.98 kB / 1.21 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5097, allocations: 7.953 kB / 1.21 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.5099, allocations: 31.94 kB / 1.21 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5099, allocations: 4 kB / 1.21 GB, free: 9.004 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.51, allocations: 213.1 kB / 1.21 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.5101, allocations: 23.66 kB / 1.21 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.5104, allocations: 171.9 kB / 1.21 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5105, allocations: 96 / 1.21 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5105, allocations: 7.891 kB / 1.21 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5105, allocations: 4 kB / 1.21 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008259/0.5113, allocations: 0.6015 MB / 1.211 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5113, allocations: 4.219 kB / 1.211 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5114, allocations: 23.98 kB / 1.211 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5114, allocations: 4 kB / 1.211 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5115, allocations: 4 kB / 1.211 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.5115, allocations: 3.938 kB / 1.211 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5115, allocations: 4 kB / 1.211 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.5118, allocations: 309.1 kB / 1.211 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.512, allocations: 116.7 kB / 1.211 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.512, allocations: 4 kB / 1.211 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5122, allocations: 15.98 kB / 1.211 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.5122, allocations: 15.98 kB / 1.211 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.5122, allocations: 7.938 kB / 1.211 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001746/0.5124, allocations: 193.9 kB / 1.212 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5124, allocations: 4 kB / 1.212 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004348/0.5129, allocations: 87.84 kB / 1.212 GB, free: 7.055 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003701/0.5132, allocations: 171.9 kB / 1.212 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.5137, allocations: 175.8 kB / 1.212 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5137, allocations: 4 kB / 1.212 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.5139, allocations: 64.41 kB / 1.212 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.5146, allocations: 138.3 kB / 1.212 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.5154, allocations: 0.5012 MB / 1.213 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.5158, allocations: 0.7482 MB / 1.213 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.516, allocations: 70.88 kB / 1.213 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.5161, allocations: 23.44 kB / 1.214 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.5161, allocations: 0 / 1.214 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of Templates: time 0.008785/0.5249, allocations: 4.118 MB / 1.218 GB, free: 1.043 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches