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.001616/0.001616, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001695/0.001695, allocations: 187.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.412/1.412, 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 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 63.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01899/1.03, allocations: 15.06 MB / 1.182 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006443/1.037, allocations: 3.893 MB / 1.186 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/1.038, allocations: 19.94 kB / 1.186 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007451/1.038, allocations: 190.7 kB / 1.186 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/1.04, allocations: 0.7075 MB / 1.187 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/1.042, allocations: 468.2 kB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001791/1.044, allocations: 1.084 MB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/1.044, allocations: 293.4 kB / 1.188 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/1.045, allocations: 414.4 kB / 1.189 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/1.046, allocations: 258.8 kB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/1.046, allocations: 24 kB / 1.189 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/1.047, allocations: 0.7212 MB / 1.19 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/1.047, allocations: 71.64 kB / 1.19 GB, free: 12.63 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/1.047, allocations: 194.9 kB / 1.19 GB, free: 12.44 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/1.049, allocations: 0.7146 MB / 1.191 GB, free: 11.72 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.049, allocations: 0 / 1.191 GB, free: 11.72 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.943e-06/1.049, allocations: 0 / 1.191 GB, free: 11.72 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.049, allocations: 0 / 1.191 GB, free: 11.72 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.00126/1.05, allocations: 0.7513 MB / 1.192 GB, free: 10.92 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.05, allocations: 8.922 kB / 1.192 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.05, allocations: 48.47 kB / 1.192 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.051, allocations: 0.5134 MB / 1.192 GB, free: 10.31 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.051, allocations: 12.33 kB / 1.192 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/1.051, allocations: 16 kB / 1.192 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/1.052, allocations: 176.2 kB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.052, allocations: 0 / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/1.052, allocations: 12 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.052, allocations: 4 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/1.052, allocations: 136.1 kB / 1.192 GB, free: 9.957 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.001302/1.053, allocations: 0.8606 MB / 1.193 GB, free: 8.996 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/1.054, allocations: 118.6 kB / 1.193 GB, free: 8.871 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/1.054, allocations: 72.75 kB / 1.193 GB, free: 8.797 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/1.054, allocations: 344.3 kB / 1.194 GB, free: 8.387 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/1.054, allocations: 34.56 kB / 1.194 GB, free: 8.344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/1.054, allocations: 0 / 1.194 GB, free: 8.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0006044/1.055, allocations: 209.2 kB / 1.194 GB, free: 8.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/1.055, allocations: 59.41 kB / 1.194 GB, free: 8.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/1.055, allocations: 341.7 kB / 1.194 GB, free: 7.719 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/1.055, allocations: 29.7 kB / 1.194 GB, free: 7.684 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/1.056, allocations: 196.3 kB / 1.195 GB, free: 7.488 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/1.056, allocations: 47.38 kB / 1.195 GB, free: 7.441 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/1.056, allocations: 37.62 kB / 1.195 GB, free: 7.398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.056, allocations: 338.8 kB / 1.195 GB, free: 7.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/1.056, allocations: 64.7 kB / 1.195 GB, free: 6.992 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/1.056, allocations: 88.67 kB / 1.195 GB, free: 6.891 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/1.056, allocations: 117.6 kB / 1.195 GB, free: 6.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.056, allocations: 0 / 1.195 GB, free: 6.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003758/1.057, allocations: 181.1 kB / 1.195 GB, free: 6.586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.057, allocations: 10.66 kB / 1.195 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.057, allocations: 7.922 kB / 1.195 GB, free: 6.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.057, allocations: 0 / 1.195 GB, free: 6.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.057, allocations: 23.98 kB / 1.195 GB, free: 6.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/1.057, allocations: 0 / 1.195 GB, free: 6.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/1.057, allocations: 15.98 kB / 1.195 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/1.057, allocations: 8 kB / 1.195 GB, free: 6.523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002153/1.058, allocations: 156.1 kB / 1.196 GB, free: 6.367 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001624/1.058, allocations: 92.41 kB / 1.196 GB, free: 6.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002452/1.058, allocations: 113.6 kB / 1.196 GB, free: 6.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/1.058, allocations: 0 / 1.196 GB, free: 6.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003535/1.058, allocations: 177.2 kB / 1.196 GB, free: 5.965 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/1.058, allocations: 4.094 kB / 1.196 GB, free: 5.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/1.058, allocations: 3.938 kB / 1.196 GB, free: 5.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/1.058, allocations: 7.938 kB / 1.196 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/1.058, allocations: 27.91 kB / 1.196 GB, free: 5.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.059, allocations: 4 kB / 1.196 GB, free: 5.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/1.059, allocations: 19.92 kB / 1.196 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/1.059, allocations: 4 kB / 1.196 GB, free: 5.895 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.0001011/1.059, allocations: 192.2 kB / 1.196 GB, free: 5.699 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/1.059, allocations: 35.53 kB / 1.196 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/1.059, allocations: 226.7 kB / 1.197 GB, free: 5.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.059, allocations: 7.984 kB / 1.197 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.059, allocations: 0 / 1.197 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/1.06, allocations: 124.6 kB / 1.197 GB, free: 5.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/1.06, allocations: 0 / 1.197 GB, free: 5.293 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.06, allocations: 19.98 kB / 1.197 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/1.06, allocations: 7.984 kB / 1.197 GB, free: 5.266 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004386/1.06, allocations: 256.8 kB / 1.197 GB, free: 5.008 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005094/1.061, allocations: 389.3 kB / 1.197 GB, free: 4.613 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001588/1.061, allocations: 67.95 kB / 1.197 GB, free: 4.547 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002418/1.061, allocations: 251.2 kB / 1.198 GB, free: 4.305 MB / 0.92 GB Notification: Performance of Backend: time 3.81e-07/1.061, allocations: 0 / 1.198 GB, free: 4.305 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001291/1.063, allocations: 403.7 kB / 1.198 GB, free: 3.906 MB / 0.92 GB Notification: Performance of SimCode: time 0.001478/1.064, allocations: 1.094 MB / 1.199 GB, free: 2.766 MB / 0.92 GB Notification: Performance of Templates: time 0.01505/1.079, allocations: 7.563 MB / 1.206 GB, free: 11.3 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