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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001074/0.001074, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 9.125 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3656, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01857/0.3842, allocations: 14.5 MB / 1.073 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006499/0.3908, allocations: 3.869 MB / 1.077 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000794/0.3916, allocations: 19.88 kB / 1.077 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.3924, allocations: 147.1 kB / 1.077 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.3947, allocations: 0.6144 MB / 1.078 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.3963, allocations: 433.2 kB / 1.078 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.3985, allocations: 1.364 MB / 1.08 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005993/0.3991, allocations: 232.9 kB / 1.08 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.4002, allocations: 374.3 kB / 1.08 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.4008, allocations: 266.8 kB / 1.081 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.4009, allocations: 12 kB / 1.081 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.4025, allocations: 0.6938 MB / 1.081 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.4026, allocations: 59.75 kB / 1.081 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.403, allocations: 200.7 kB / 1.082 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.4041, allocations: 0.495 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4041, allocations: 4 kB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4041, allocations: 0 / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.4041, allocations: 3.938 kB / 1.082 GB, free: 13.65 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.001444/0.4055, allocations: 0.6852 MB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4056, allocations: 11.97 kB / 1.083 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.4058, allocations: 44.47 kB / 1.083 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4069, allocations: 497.8 kB / 1.083 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.4069, allocations: 12.33 kB / 1.083 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.407, allocations: 24 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.4074, allocations: 188.1 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4074, allocations: 0 / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.4075, allocations: 11.98 kB / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4075, allocations: 4 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.4079, allocations: 152.2 kB / 1.084 GB, free: 11.95 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.00133/0.4092, allocations: 0.8606 MB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.4095, allocations: 130.6 kB / 1.085 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.4097, allocations: 80.81 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/0.4101, allocations: 332.4 kB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4101, allocations: 30.56 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.4101, allocations: 0 / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0006731/0.4108, allocations: 245 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.4108, allocations: 51.41 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.4113, allocations: 349.7 kB / 1.086 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.4113, allocations: 29.7 kB / 1.086 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4115, allocations: 192.3 kB / 1.086 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.4115, allocations: 39.39 kB / 1.086 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.4116, allocations: 21.7 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4117, allocations: 334.8 kB / 1.086 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.4119, allocations: 55.95 kB / 1.086 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4121, allocations: 92.25 kB / 1.086 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.4124, allocations: 129.6 kB / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4124, allocations: 0 / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004338/0.4128, allocations: 197 kB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.33e-05/0.4129, allocations: 105.7 kB / 1.087 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4129, allocations: 64 / 1.087 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.413, allocations: 8 kB / 1.087 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.4131, allocations: 27.97 kB / 1.087 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4132, allocations: 0 / 1.087 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.4134, allocations: 39.89 kB / 1.087 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.4134, allocations: 8 kB / 1.087 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.4135, allocations: 2.031 kB / 1.087 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003203/0.4138, allocations: 123.9 kB / 1.087 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.4138, allocations: 4 kB / 1.087 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.4138, allocations: 4 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4139, allocations: 23.98 kB / 1.087 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.4139, allocations: 7.922 kB / 1.087 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.4142, allocations: 31.89 kB / 1.087 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4142, allocations: 7.984 kB / 1.087 GB, free: 8.152 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.0001827/0.4144, allocations: 217.1 kB / 1.087 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.4145, allocations: 35.61 kB / 1.087 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.415, allocations: 237.2 kB / 1.087 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.415, allocations: 11.92 kB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4151, allocations: 0 / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4151, allocations: 0 / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4162, allocations: 0.6529 MB / 1.088 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4162, allocations: 0 / 1.088 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.4163, allocations: 23.98 kB / 1.088 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.4163, allocations: 4 kB / 1.088 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.4163, allocations: 4 kB / 1.088 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.4163, allocations: 12.11 kB / 1.088 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4164, allocations: 96 / 1.088 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.4169, allocations: 334.7 kB / 1.088 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.4171, allocations: 128.6 kB / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.4172, allocations: 0 / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.4174, allocations: 31.91 kB / 1.089 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.4175, allocations: 15.92 kB / 1.089 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.4175, allocations: 4 kB / 1.089 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002863/0.4178, allocations: 255.2 kB / 1.089 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4178, allocations: 0 / 1.089 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006979/0.4185, allocations: 183.7 kB / 1.089 GB, free: 5.91 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.0007386/0.4193, allocations: 261.9 kB / 1.089 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.4199, allocations: 199.8 kB / 1.09 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4199, allocations: 4 kB / 1.09 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4201, allocations: 79.89 kB / 1.09 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.4211, allocations: 149.2 kB / 1.09 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4222, allocations: 0.7184 MB / 1.09 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.4227, allocations: 0.7882 MB / 1.091 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.4228, allocations: 35.42 kB / 1.091 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4228, allocations: 0 / 1.091 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of Templates: time 0.0118/0.4346, allocations: 5.703 MB / 1.097 GB, free: 13.97 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/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