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.001091/0.001091, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009605/0.009605, allocations: 170 kB / 16.27 MB, free: 6.652 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 462.6 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 16.38 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3807, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01449/0.3952, allocations: 14.5 MB / 1.073 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005641/0.4009, allocations: 3.865 MB / 1.077 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.4014, allocations: 19.88 kB / 1.077 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.4019, allocations: 155.1 kB / 1.077 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.4036, allocations: 0.6144 MB / 1.077 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.4049, allocations: 429.8 kB / 1.078 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.4066, allocations: 1.353 MB / 1.079 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.407, allocations: 252.8 kB / 1.079 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006349/0.4076, allocations: 366.4 kB / 1.08 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.408, allocations: 258.7 kB / 1.08 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.408, allocations: 16 kB / 1.08 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.4091, allocations: 0.7016 MB / 1.081 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.4092, allocations: 55.75 kB / 1.081 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.4094, allocations: 204.7 kB / 1.081 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.4103, allocations: 0.6971 MB / 1.082 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4104, allocations: 0 / 1.082 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4104, allocations: 0 / 1.082 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.4104, allocations: 0 / 1.082 GB, free: 13.97 MB / 0.8419 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.00103/0.4114, allocations: 0.693 MB / 1.082 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4115, allocations: 8.031 kB / 1.082 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.4115, allocations: 40.47 kB / 1.082 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.4124, allocations: 0.4901 MB / 1.083 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4124, allocations: 12.33 kB / 1.083 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.4124, allocations: 16 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.4128, allocations: 196.1 kB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4128, allocations: 0 / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4129, allocations: 8 kB / 1.083 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4129, allocations: 4 kB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.4132, allocations: 152 kB / 1.083 GB, free: 12.27 MB / 0.8419 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.001112/0.4143, allocations: 0.8728 MB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.4146, allocations: 122.6 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.4148, allocations: 76.81 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.4151, allocations: 344.4 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4152, allocations: 34.5 kB / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.4152, allocations: 0 / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005939/0.4158, allocations: 237.1 kB / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.4158, allocations: 51.41 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.4161, allocations: 345.7 kB / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4162, allocations: 33.7 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.4163, allocations: 184.3 kB / 1.085 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.4164, allocations: 47.39 kB / 1.085 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.4164, allocations: 17.72 kB / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4165, allocations: 342.8 kB / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4167, allocations: 51.97 kB / 1.086 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.4168, allocations: 96.62 kB / 1.086 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.4171, allocations: 129.6 kB / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4171, allocations: 0 / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003623/0.4175, allocations: 189.1 kB / 1.086 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.4176, allocations: 101.8 kB / 1.086 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4176, allocations: 0 / 1.086 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4176, allocations: 4 kB / 1.086 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4177, allocations: 36 kB / 1.086 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4178, allocations: 3.938 kB / 1.086 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.418, allocations: 27.92 kB / 1.086 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.418, allocations: 12.05 kB / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.418, allocations: 5.562 kB / 1.086 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003009/0.4183, allocations: 127.9 kB / 1.086 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-06/0.4184, allocations: 0 / 1.086 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-06/0.4184, allocations: 0 / 1.086 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.4185, allocations: 27.98 kB / 1.087 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.4185, allocations: 7.938 kB / 1.087 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4187, allocations: 27.88 kB / 1.087 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4187, allocations: 8 kB / 1.087 GB, free: 8.477 MB / 0.8419 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.0001541/0.4189, allocations: 222.6 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.4189, allocations: 31.62 kB / 1.087 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.4194, allocations: 244.7 kB / 1.087 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4195, allocations: 7.938 kB / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4195, allocations: 0 / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4195, allocations: 0 / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/0.4203, allocations: 0.6451 MB / 1.088 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4203, allocations: 7.922 kB / 1.088 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.4204, allocations: 28.08 kB / 1.088 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4205, allocations: 7.938 kB / 1.088 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4205, allocations: 4 kB / 1.088 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4205, allocations: 4 kB / 1.088 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4205, allocations: 0 / 1.088 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.4209, allocations: 329.7 kB / 1.088 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.421, allocations: 136.7 kB / 1.088 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.4211, allocations: 0 / 1.088 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.4213, allocations: 35.91 kB / 1.088 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.4214, allocations: 11.92 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4214, allocations: 4 kB / 1.088 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000228/0.4216, allocations: 247.2 kB / 1.088 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4216, allocations: 0 / 1.088 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005624/0.4222, allocations: 183.7 kB / 1.089 GB, free: 6.234 MB / 0.8419 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.0004809/0.4227, allocations: 245.5 kB / 1.089 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.4232, allocations: 215.7 kB / 1.089 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4232, allocations: 0 / 1.089 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.4234, allocations: 84.02 kB / 1.089 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.4243, allocations: 145.8 kB / 1.089 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.4252, allocations: 0.6893 MB / 1.09 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.4255, allocations: 0.7921 MB / 1.091 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.4257, allocations: 87.19 kB / 1.091 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.4258, allocations: 31.44 kB / 1.091 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4258, allocations: 0 / 1.091 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of Templates: time 0.01139/0.4372, allocations: 6.261 MB / 1.097 GB, free: 13.73 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches