Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 112.6 kB / 16.42 MB, free: 6.461 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.001322/0.001322, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 68.12 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8852/0.8866, allocations: 157.4 MB / 1.208 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01664/0.9033, allocations: 15.06 MB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005357/0.9087, allocations: 3.876 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.9092, allocations: 23.88 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006102/0.9098, allocations: 186.7 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.9115, allocations: 0.6842 MB / 1.228 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.9127, allocations: 480.6 kB / 1.228 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.9141, allocations: 1.087 MB / 1.229 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.9146, allocations: 277.5 kB / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007305/0.9153, allocations: 414.4 kB / 1.23 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.9157, allocations: 262.7 kB / 1.23 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.9157, allocations: 20 kB / 1.23 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.9169, allocations: 0.729 MB / 1.231 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.917, allocations: 67.77 kB / 1.231 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.9172, allocations: 186.9 kB / 1.231 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009535/0.9181, allocations: 0.7224 MB / 1.232 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9181, allocations: 0 / 1.232 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9182, allocations: 0 / 1.232 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.9182, allocations: 0 / 1.232 GB, free: 5.355 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001146/0.9193, allocations: 0.7474 MB / 1.233 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9194, allocations: 8.031 kB / 1.233 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.9195, allocations: 40.47 kB / 1.233 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.9205, allocations: 0.5057 MB / 1.233 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.9206, allocations: 20.27 kB / 1.233 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.9206, allocations: 20 kB / 1.233 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.921, allocations: 176.2 kB / 1.233 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.921, allocations: 0 / 1.233 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.921, allocations: 4 kB / 1.233 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.921, allocations: 8 kB / 1.233 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.9214, allocations: 140.1 kB / 1.233 GB, free: 3.598 MB / 0.9512 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.001155/0.9225, allocations: 0.8605 MB / 1.234 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.9228, allocations: 122.6 kB / 1.234 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.923, allocations: 80.81 kB / 1.235 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.9233, allocations: 340.4 kB / 1.235 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.9233, allocations: 34.56 kB / 1.235 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.9233, allocations: 0 / 1.235 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0005298/0.9238, allocations: 217.1 kB / 1.235 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.9239, allocations: 55.41 kB / 1.235 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.9242, allocations: 345.7 kB / 1.235 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.9242, allocations: 33.64 kB / 1.236 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.9244, allocations: 196.3 kB / 1.236 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.9244, allocations: 35.41 kB / 1.236 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.9245, allocations: 37.61 kB / 1.236 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9247, allocations: 346.8 kB / 1.236 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.9248, allocations: 48.83 kB / 1.236 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.925, allocations: 92.23 kB / 1.236 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.9253, allocations: 117.5 kB / 1.236 GB, free: 420 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9253, allocations: 0 / 1.236 GB, free: 420 kB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003577/0.9256, allocations: 177.2 kB / 1.237 GB, free: 236 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.9257, allocations: 5.719 kB / 1.237 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.9257, allocations: 7.938 kB / 1.237 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9257, allocations: 0 / 1.237 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.9259, allocations: 31.91 kB / 1.237 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.9259, allocations: 0 / 1.237 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.9261, allocations: 15.98 kB / 1.237 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.9261, allocations: 4 kB / 1.237 GB, free: 172 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002239/0.9263, allocations: 164.1 kB / 1.237 GB, free: 4 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001632/0.9265, allocations: 84.98 kB / 1.237 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002479/0.9268, allocations: 109.6 kB / 1.237 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.9268, allocations: 4 kB / 1.237 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003309/0.9271, allocations: 189 kB / 1.237 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.9271, allocations: 4 kB / 1.237 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.9271, allocations: 0 / 1.237 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-06/0.9271, allocations: 3.938 kB / 1.237 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.9272, allocations: 23.98 kB / 1.237 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.9273, allocations: 3.984 kB / 1.237 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.9274, allocations: 23.98 kB / 1.237 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.9274, allocations: 4 kB / 1.237 GB, free: 15.53 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001038/0.9276, allocations: 192.1 kB / 1.237 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.9276, allocations: 35.53 kB / 1.237 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.9281, allocations: 224.8 kB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.9281, allocations: 0 / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9281, allocations: 0 / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.9282, allocations: 128.6 kB / 1.238 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.9283, allocations: 7.984 kB / 1.238 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.9285, allocations: 11.98 kB / 1.238 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.9285, allocations: 12.08 kB / 1.238 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004217/0.929, allocations: 267.1 kB / 1.238 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004293/0.9294, allocations: 382.2 kB / 1.238 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001436/0.9296, allocations: 67.95 kB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002341/0.9298, allocations: 247.2 kB / 1.239 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of Backend: time 3.91e-07/0.9298, allocations: 3.938 kB / 1.239 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.931, allocations: 414.3 kB / 1.239 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of SimCode: time 0.00159/0.9326, allocations: 1.09 MB / 1.24 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.01328/0.9459, allocations: 7.678 MB / 1.248 GB, free: 4.816 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches