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.001319/0.001319, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00135/0.00135, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.454/1.454, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 469.4 MB / 0.7428 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9595, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01687/0.9764, allocations: 15.05 MB / 1.236 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005553/0.982, allocations: 3.89 MB / 1.239 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.9825, allocations: 19.88 kB / 1.239 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.9832, allocations: 194.7 kB / 1.24 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.9848, allocations: 0.6959 MB / 1.24 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.9861, allocations: 485.5 kB / 1.241 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.9875, allocations: 1.083 MB / 1.242 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.988, allocations: 289.5 kB / 1.242 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.9886, allocations: 410.4 kB / 1.242 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.9889, allocations: 262.8 kB / 1.243 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.989, allocations: 28 kB / 1.243 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.9902, allocations: 0.7174 MB / 1.243 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.9903, allocations: 71.69 kB / 1.243 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.9905, allocations: 187 kB / 1.244 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.9916, allocations: 0.7224 MB / 1.244 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.9916, allocations: 4 kB / 1.244 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9916, allocations: 3.938 kB / 1.244 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9916, allocations: 0 / 1.244 GB, free: 10.23 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001204/0.9928, allocations: 0.7435 MB / 1.245 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.9929, allocations: 8.625 kB / 1.245 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.081e-05/0.993, allocations: 44.47 kB / 1.245 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.994, allocations: 0.5018 MB / 1.246 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.994, allocations: 16.33 kB / 1.246 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.994, allocations: 24 kB / 1.246 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.9944, allocations: 180.1 kB / 1.246 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9944, allocations: 0 / 1.246 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.9945, allocations: 8 kB / 1.246 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.9945, allocations: 4 kB / 1.246 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.9948, allocations: 144.1 kB / 1.246 GB, free: 8.469 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.001087/0.9959, allocations: 0.8528 MB / 1.247 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.9962, allocations: 130.6 kB / 1.247 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.9964, allocations: 72.81 kB / 1.247 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.9967, allocations: 336.4 kB / 1.247 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.9967, allocations: 30.56 kB / 1.247 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.9967, allocations: 0 / 1.247 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005661/0.9973, allocations: 228.9 kB / 1.248 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.9973, allocations: 55.41 kB / 1.248 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.9977, allocations: 345.7 kB / 1.248 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.9977, allocations: 29.7 kB / 1.248 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.9978, allocations: 188.4 kB / 1.248 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.9979, allocations: 43.3 kB / 1.248 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.9979, allocations: 37.7 kB / 1.248 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.998, allocations: 334.8 kB / 1.249 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.9982, allocations: 60.81 kB / 1.249 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.9984, allocations: 84.25 kB / 1.249 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.9986, allocations: 113.6 kB / 1.249 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9986, allocations: 7.938 kB / 1.249 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003546/0.999, allocations: 185.2 kB / 1.249 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.999, allocations: 4 kB / 1.249 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.999, allocations: 3.938 kB / 1.249 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.9991, allocations: 0 / 1.249 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.9992, allocations: 24.05 kB / 1.249 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.9992, allocations: 4 kB / 1.249 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.9994, allocations: 27.89 kB / 1.249 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.9995, allocations: 11.92 kB / 1.249 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002156/0.9997, allocations: 152.1 kB / 1.249 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001526/0.9998, allocations: 88.84 kB / 1.249 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002555/1, allocations: 109.7 kB / 1.249 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/1, allocations: 3.984 kB / 1.249 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003576/1, allocations: 181.1 kB / 1.25 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/1.001, allocations: 4 kB / 1.25 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/1.001, allocations: 0 / 1.25 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/1.001, allocations: 7.938 kB / 1.25 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/1.001, allocations: 19.98 kB / 1.25 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.001, allocations: 4 kB / 1.25 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.001, allocations: 15.98 kB / 1.25 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/1.001, allocations: 8.188 kB / 1.25 GB, free: 4.414 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.0001054/1.001, allocations: 200.1 kB / 1.25 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/1.001, allocations: 39.47 kB / 1.25 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/1.002, allocations: 224.8 kB / 1.25 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.002, allocations: 8 kB / 1.25 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.002, allocations: 0 / 1.25 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.002, allocations: 124.5 kB / 1.25 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/1.002, allocations: 4 kB / 1.25 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.002, allocations: 11.98 kB / 1.25 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/1.002, allocations: 11.98 kB / 1.25 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004178/1.002, allocations: 260.8 kB / 1.251 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004331/1.003, allocations: 380.9 kB / 1.251 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001542/1.003, allocations: 71.94 kB / 1.251 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002267/1.003, allocations: 243.2 kB / 1.251 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of Backend: time 2.71e-07/1.003, allocations: 0 / 1.251 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001294/1.005, allocations: 410.6 kB / 1.252 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001369/1.006, allocations: 1.094 MB / 1.253 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of Templates: time 0.01301/1.019, allocations: 7.569 MB / 1.26 GB, free: 9.797 MB / 0.9825 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