Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001501/0.001501, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001718/0.001718, allocations: 189.4 kB / 17.35 MB, free: 5.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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.065, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01733/1.083, allocations: 15.05 MB / 1.182 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006065/1.089, allocations: 3.888 MB / 1.186 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/1.089, allocations: 19.88 kB / 1.186 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006132/1.09, allocations: 190.8 kB / 1.186 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/1.092, allocations: 0.7129 MB / 1.187 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/1.093, allocations: 480.3 kB / 1.187 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001507/1.095, allocations: 1.08 MB / 1.188 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004326/1.095, allocations: 282.6 kB / 1.188 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/1.096, allocations: 414.4 kB / 1.189 GB, free: 13.72 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/1.096, allocations: 258.8 kB / 1.189 GB, free: 13.47 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/1.096, allocations: 24 kB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/1.097, allocations: 0.7212 MB / 1.19 GB, free: 12.72 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/1.098, allocations: 71.64 kB / 1.19 GB, free: 12.65 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/1.098, allocations: 190.9 kB / 1.19 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/1.099, allocations: 0.7196 MB / 1.191 GB, free: 11.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.099, allocations: 0 / 1.191 GB, free: 11.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/1.099, allocations: 0 / 1.191 GB, free: 11.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.814e-06/1.099, allocations: 4 kB / 1.191 GB, free: 11.74 MB / 0.92 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.001202/1.1, allocations: 0.766 MB / 1.192 GB, free: 10.92 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.1, allocations: 8.922 kB / 1.192 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/1.1, allocations: 44.66 kB / 1.192 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.101, allocations: 0.5177 MB / 1.192 GB, free: 10.31 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/1.101, allocations: 12.33 kB / 1.192 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/1.101, allocations: 20 kB / 1.192 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/1.102, allocations: 176.2 kB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.102, allocations: 0 / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/1.102, allocations: 12 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.102, allocations: 4 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/1.102, allocations: 140.1 kB / 1.192 GB, free: 9.953 MB / 0.92 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.00116/1.103, allocations: 0.8569 MB / 1.193 GB, free: 8.996 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/1.104, allocations: 126.6 kB / 1.193 GB, free: 8.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/1.104, allocations: 72.81 kB / 1.193 GB, free: 8.789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/1.104, allocations: 336.4 kB / 1.194 GB, free: 8.387 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.104, allocations: 38.5 kB / 1.194 GB, free: 8.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/1.104, allocations: 0 / 1.194 GB, free: 8.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0005796/1.105, allocations: 225.2 kB / 1.194 GB, free: 8.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.105, allocations: 51.41 kB / 1.194 GB, free: 8.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/1.105, allocations: 353.6 kB / 1.194 GB, free: 7.695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/1.105, allocations: 25.7 kB / 1.194 GB, free: 7.664 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/1.106, allocations: 204.4 kB / 1.195 GB, free: 7.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/1.106, allocations: 43.64 kB / 1.195 GB, free: 7.418 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/1.106, allocations: 29.72 kB / 1.195 GB, free: 7.383 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.106, allocations: 346.8 kB / 1.195 GB, free: 7.035 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.106, allocations: 56.77 kB / 1.195 GB, free: 6.977 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/1.106, allocations: 84.23 kB / 1.195 GB, free: 6.879 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/1.106, allocations: 121.6 kB / 1.195 GB, free: 6.754 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.106, allocations: 0 / 1.195 GB, free: 6.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003769/1.107, allocations: 173.3 kB / 1.195 GB, free: 6.578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.107, allocations: 11.98 kB / 1.195 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.107, allocations: 3.938 kB / 1.195 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.107, allocations: 0 / 1.195 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.107, allocations: 31.98 kB / 1.196 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.107, allocations: 0 / 1.196 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/1.107, allocations: 19.92 kB / 1.196 GB, free: 6.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.107, allocations: 4 kB / 1.196 GB, free: 6.508 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002296/1.108, allocations: 156.1 kB / 1.196 GB, free: 6.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001583/1.108, allocations: 96.19 kB / 1.196 GB, free: 6.242 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002544/1.108, allocations: 109.7 kB / 1.196 GB, free: 6.129 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/1.108, allocations: 3.984 kB / 1.196 GB, free: 6.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003546/1.108, allocations: 177.4 kB / 1.196 GB, free: 5.945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/1.108, allocations: 4 kB / 1.196 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-06/1.108, allocations: 0 / 1.196 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/1.108, allocations: 7.938 kB / 1.196 GB, free: 5.934 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.108, allocations: 31.91 kB / 1.196 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/1.109, allocations: 4 kB / 1.196 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/1.109, allocations: 15.98 kB / 1.196 GB, free: 5.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/1.109, allocations: 7.938 kB / 1.196 GB, free: 5.875 MB / 0.92 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.0001203/1.109, allocations: 184.3 kB / 1.196 GB, free: 5.688 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/1.109, allocations: 35.77 kB / 1.196 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/1.109, allocations: 234.5 kB / 1.197 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.109, allocations: 3.984 kB / 1.197 GB, free: 5.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.109, allocations: 4 kB / 1.197 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.11, allocations: 128.8 kB / 1.197 GB, free: 5.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/1.11, allocations: 0 / 1.197 GB, free: 5.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/1.11, allocations: 15.98 kB / 1.197 GB, free: 5.254 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.11, allocations: 8.109 kB / 1.197 GB, free: 5.246 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004551/1.11, allocations: 256.9 kB / 1.197 GB, free: 4.988 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004827/1.111, allocations: 392.7 kB / 1.197 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001577/1.111, allocations: 67.95 kB / 1.197 GB, free: 4.523 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002545/1.111, allocations: 255.2 kB / 1.198 GB, free: 4.277 MB / 0.92 GB Notification: Performance of Backend: time 3.71e-07/1.111, allocations: 0 / 1.198 GB, free: 4.277 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001388/1.113, allocations: 407.6 kB / 1.198 GB, free: 3.879 MB / 0.92 GB Notification: Performance of SimCode: time 0.001536/1.114, allocations: 1.101 MB / 1.199 GB, free: 2.73 MB / 0.92 GB Notification: Performance of Templates: time 0.01515/1.129, allocations: 7.579 MB / 1.207 GB, free: 11.25 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches