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.001169/0.001169, allocations: 108 kB / 16.41 MB, free: 6.027 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.001131/0.001131, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.351/1.351, 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.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 60.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9461/0.9475, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01903/0.9666, allocations: 15.05 MB / 1.182 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006204/0.9729, allocations: 3.888 MB / 1.186 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007196/0.9736, allocations: 19.94 kB / 1.186 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.9745, allocations: 198.7 kB / 1.186 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.9769, allocations: 0.7006 MB / 1.187 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.9786, allocations: 484.5 kB / 1.187 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.9805, allocations: 1.08 MB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006355/0.9812, allocations: 290.6 kB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.9823, allocations: 414.4 kB / 1.189 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000577/0.9828, allocations: 258.8 kB / 1.189 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.9829, allocations: 20 kB / 1.189 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.9845, allocations: 0.7212 MB / 1.19 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.9846, allocations: 83.61 kB / 1.19 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.9849, allocations: 183 kB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.9865, allocations: 0.7224 MB / 1.191 GB, free: 11.65 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9866, allocations: 4 kB / 1.191 GB, free: 11.65 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9866, allocations: 0 / 1.191 GB, free: 11.65 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.9866, allocations: 0 / 1.191 GB, free: 11.65 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.001451/0.988, allocations: 0.7435 MB / 1.192 GB, free: 10.85 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.9881, allocations: 8.922 kB / 1.192 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.9882, allocations: 44.47 kB / 1.192 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.9894, allocations: 0.5056 MB / 1.192 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.9895, allocations: 16.33 kB / 1.192 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.9895, allocations: 16 kB / 1.192 GB, free: 10.22 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.9899, allocations: 180.2 kB / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9899, allocations: 0 / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.99, allocations: 12 kB / 1.192 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.99, allocations: 4 kB / 1.192 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.9903, allocations: 136.2 kB / 1.192 GB, free: 9.895 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.001276/0.9916, allocations: 0.8683 MB / 1.193 GB, free: 8.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.9919, allocations: 114.6 kB / 1.193 GB, free: 8.805 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.992, allocations: 76.81 kB / 1.193 GB, free: 8.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.9924, allocations: 340.3 kB / 1.194 GB, free: 8.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.9924, allocations: 38.56 kB / 1.194 GB, free: 8.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.9924, allocations: 0 / 1.194 GB, free: 8.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0005938/0.993, allocations: 217.1 kB / 1.194 GB, free: 8.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9931, allocations: 51.41 kB / 1.194 GB, free: 7.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.9934, allocations: 353.7 kB / 1.194 GB, free: 7.637 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.9935, allocations: 25.7 kB / 1.194 GB, free: 7.605 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.9936, allocations: 192.3 kB / 1.195 GB, free: 7.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.9937, allocations: 39.39 kB / 1.195 GB, free: 7.375 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.9937, allocations: 37.61 kB / 1.195 GB, free: 7.332 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9939, allocations: 346.8 kB / 1.195 GB, free: 6.984 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.994, allocations: 56.81 kB / 1.195 GB, free: 6.926 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.9942, allocations: 88.19 kB / 1.195 GB, free: 6.824 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.9945, allocations: 117.6 kB / 1.195 GB, free: 6.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9945, allocations: 0 / 1.195 GB, free: 6.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003921/0.9949, allocations: 177.1 kB / 1.195 GB, free: 6.523 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.9949, allocations: 7.938 kB / 1.195 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9949, allocations: 4 kB / 1.195 GB, free: 6.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.995, allocations: 0 / 1.195 GB, free: 6.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.9951, allocations: 27.98 kB / 1.195 GB, free: 6.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.9951, allocations: 0 / 1.195 GB, free: 6.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.9954, allocations: 15.97 kB / 1.195 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.9954, allocations: 4 kB / 1.195 GB, free: 6.465 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002161/0.9956, allocations: 160.1 kB / 1.196 GB, free: 6.305 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001497/0.9958, allocations: 84.25 kB / 1.196 GB, free: 6.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002466/0.996, allocations: 121.6 kB / 1.196 GB, free: 6.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.9961, allocations: 0 / 1.196 GB, free: 6.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003566/0.9964, allocations: 177.1 kB / 1.196 GB, free: 5.902 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.9964, allocations: 4 kB / 1.196 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.9964, allocations: 128 / 1.196 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/0.9964, allocations: 7.938 kB / 1.196 GB, free: 5.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.9966, allocations: 27.92 kB / 1.196 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.9966, allocations: 3.938 kB / 1.196 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.9968, allocations: 19.98 kB / 1.196 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.9968, allocations: 11.98 kB / 1.196 GB, free: 5.828 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.0001143/0.9969, allocations: 188.2 kB / 1.196 GB, free: 5.637 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/0.997, allocations: 39.47 kB / 1.196 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.9975, allocations: 231.8 kB / 1.197 GB, free: 5.371 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.9976, allocations: 4 kB / 1.197 GB, free: 5.367 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9976, allocations: 0 / 1.197 GB, free: 5.367 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9976, allocations: 0 / 1.197 GB, free: 5.367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009389/0.9985, allocations: 0.6334 MB / 1.197 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9985, allocations: 0 / 1.197 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.9987, allocations: 31.91 kB / 1.197 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9987, allocations: 0 / 1.197 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.9987, allocations: 8 kB / 1.197 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9987, allocations: 4.094 kB / 1.197 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9987, allocations: 4 kB / 1.197 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.9992, allocations: 311.4 kB / 1.197 GB, free: 4.293 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.9993, allocations: 136.5 kB / 1.198 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.9994, allocations: 0 / 1.198 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.9996, allocations: 19.97 kB / 1.198 GB, free: 4.121 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.9996, allocations: 8 kB / 1.198 GB, free: 4.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.9996, allocations: 7.984 kB / 1.198 GB, free: 4.105 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002566/0.9999, allocations: 243.2 kB / 1.198 GB, free: 3.871 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9999, allocations: 0 / 1.198 GB, free: 3.871 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006315/1.001, allocations: 195.6 kB / 1.198 GB, free: 3.68 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006166/1.001, allocations: 260.7 kB / 1.198 GB, free: 3.418 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005412/1.002, allocations: 179.8 kB / 1.198 GB, free: 3.242 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.002, allocations: 4 kB / 1.198 GB, free: 3.238 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/1.002, allocations: 79.89 kB / 1.199 GB, free: 3.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/1.003, allocations: 144.4 kB / 1.199 GB, free: 3.023 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009669/1.004, allocations: 0.5894 MB / 1.199 GB, free: 2.395 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.004, allocations: 0.7957 MB / 1.2 GB, free: 1.574 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/1.004, allocations: 31.44 kB / 1.2 GB, free: 1.543 MB / 0.92 GB Notification: Performance of SimCode: time 7.61e-07/1.004, allocations: 4 kB / 1.2 GB, free: 1.539 MB / 0.92 GB Notification: Performance of Templates: time 0.01014/1.014, allocations: 5.792 MB / 1.206 GB, free: 11.81 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