Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001593/0.001593, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001691/0.001691, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.083, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01862/1.102, allocations: 15.04 MB / 1.103 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007244/1.109, allocations: 3.89 MB / 1.107 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009399/1.11, allocations: 22.66 kB / 1.107 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/1.111, allocations: 189.2 kB / 1.107 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002597/1.114, allocations: 0.7054 MB / 1.108 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/1.116, allocations: 484.4 kB / 1.108 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002363/1.118, allocations: 1.088 MB / 1.11 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005899/1.119, allocations: 277.2 kB / 1.11 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/1.12, allocations: 416.4 kB / 1.11 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/1.12, allocations: 260.6 kB / 1.11 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/1.12, allocations: 25.12 kB / 1.11 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/1.122, allocations: 0.7173 MB / 1.111 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/1.122, allocations: 74.36 kB / 1.111 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000251/1.123, allocations: 190.2 kB / 1.111 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/1.124, allocations: 0.7118 MB / 1.112 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.124, allocations: 0 / 1.112 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.074e-06/1.124, allocations: 1.219 kB / 1.112 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.29e-05/1.124, allocations: 0 / 1.112 GB, free: 5.746 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001311/1.125, allocations: 0.7482 MB / 1.113 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.125, allocations: 12.53 kB / 1.113 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.126, allocations: 42.48 kB / 1.113 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.127, allocations: 0.5246 MB / 1.113 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/1.127, allocations: 12.7 kB / 1.113 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/1.127, allocations: 20.39 kB / 1.113 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/1.127, allocations: 183.5 kB / 1.114 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.127, allocations: 0 / 1.114 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/1.127, allocations: 4.781 kB / 1.114 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/1.127, allocations: 8.875 kB / 1.114 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/1.128, allocations: 138.7 kB / 1.114 GB, free: 4.602 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.001356/1.129, allocations: 0.8557 MB / 1.115 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/1.129, allocations: 124.1 kB / 1.115 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/1.13, allocations: 70.22 kB / 1.115 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/1.13, allocations: 338.9 kB / 1.115 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/1.13, allocations: 32 kB / 1.115 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/1.13, allocations: 0 / 1.115 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0006465/1.131, allocations: 222.6 kB / 1.115 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.131, allocations: 56.38 kB / 1.115 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/1.131, allocations: 345.1 kB / 1.116 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/1.131, allocations: 35.05 kB / 1.116 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/1.131, allocations: 192.3 kB / 1.116 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/1.131, allocations: 44.39 kB / 1.116 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/1.131, allocations: 32.61 kB / 1.116 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.132, allocations: 345.6 kB / 1.116 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/1.132, allocations: 51.84 kB / 1.116 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/1.132, allocations: 87.62 kB / 1.116 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/1.132, allocations: 118.9 kB / 1.117 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.132, allocations: 0 / 1.117 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00041/1.133, allocations: 179.1 kB / 1.117 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.133, allocations: 5.219 kB / 1.117 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.133, allocations: 9.766 kB / 1.117 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.133, allocations: 1.469 kB / 1.117 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/1.133, allocations: 23.78 kB / 1.117 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.133, allocations: 1.734 kB / 1.117 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/1.133, allocations: 18.14 kB / 1.117 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/1.133, allocations: 9.266 kB / 1.117 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000247/1.134, allocations: 154.7 kB / 1.117 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001883/1.134, allocations: 85.8 kB / 1.117 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000266/1.134, allocations: 122 kB / 1.117 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/1.134, allocations: 0 / 1.117 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003722/1.134, allocations: 167.4 kB / 1.117 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.134, allocations: 6.75 kB / 1.117 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/1.134, allocations: 3.938 kB / 1.117 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/1.134, allocations: 4.906 kB / 1.117 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/1.135, allocations: 28.41 kB / 1.117 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/1.135, allocations: 5.531 kB / 1.117 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.135, allocations: 22.02 kB / 1.117 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/1.135, allocations: 5 kB / 1.117 GB, free: 1.969 MB / 0.8731 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.0001304/1.135, allocations: 192.5 kB / 1.118 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/1.135, allocations: 32.86 kB / 1.118 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/1.136, allocations: 230.9 kB / 1.118 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.136, allocations: 4.891 kB / 1.118 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.136, allocations: 0.5 kB / 1.118 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/1.136, allocations: 121.5 kB / 1.118 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/1.136, allocations: 5.359 kB / 1.118 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/1.136, allocations: 11.67 kB / 1.118 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/1.136, allocations: 12.8 kB / 1.118 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005401/1.137, allocations: 258.9 kB / 1.118 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005553/1.137, allocations: 386 kB / 1.119 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002026/1.137, allocations: 71.22 kB / 1.119 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003185/1.138, allocations: 248.3 kB / 1.119 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of Backend: time 4.81e-07/1.138, allocations: 0 / 1.119 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001575/1.139, allocations: 411.1 kB / 1.119 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001689/1.141, allocations: 1.086 MB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of Templates: time 0.02124/1.162, allocations: 7.572 MB / 1.128 GB, free: 15.31 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches