Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001355/0.001355, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001438/0.001439, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.8349, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01698/0.8519, allocations: 15.05 MB / 1.103 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006707/0.8586, allocations: 3.886 MB / 1.107 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.8594, allocations: 21.5 kB / 1.107 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007043/0.8602, allocations: 192 kB / 1.107 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.8623, allocations: 0.6813 MB / 1.108 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.864, allocations: 484.5 kB / 1.108 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.8662, allocations: 1.087 MB / 1.109 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.8668, allocations: 277.1 kB / 1.11 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.8679, allocations: 419.6 kB / 1.11 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.8683, allocations: 264.8 kB / 1.11 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.8684, allocations: 21.66 kB / 1.11 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.8702, allocations: 0.7173 MB / 1.111 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.8703, allocations: 75.22 kB / 1.111 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.8706, allocations: 185.6 kB / 1.111 GB, free: 6 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.872, allocations: 0.7197 MB / 1.112 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.872, allocations: 0 / 1.112 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.452e-06/0.872, allocations: 4 kB / 1.112 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.872, allocations: 0.8906 kB / 1.112 GB, free: 5.738 MB / 0.8731 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.001209/0.8732, allocations: 0.7405 MB / 1.113 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.8733, allocations: 12.91 kB / 1.113 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.8734, allocations: 42.39 kB / 1.113 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.8744, allocations: 0.5163 MB / 1.113 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.8745, allocations: 16.05 kB / 1.113 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.8745, allocations: 17.06 kB / 1.113 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.8749, allocations: 179.6 kB / 1.114 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8749, allocations: 0 / 1.114 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.875, allocations: 6.375 kB / 1.114 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.875, allocations: 8.281 kB / 1.114 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.8753, allocations: 137.8 kB / 1.114 GB, free: 4.613 MB / 0.8731 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.001257/0.8766, allocations: 0.8598 MB / 1.115 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.8769, allocations: 120.2 kB / 1.115 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.8771, allocations: 70.2 kB / 1.115 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.8774, allocations: 338.6 kB / 1.115 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8775, allocations: 36.67 kB / 1.115 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.8775, allocations: 0 / 1.115 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0006284/0.8781, allocations: 221.8 kB / 1.115 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.8782, allocations: 53.56 kB / 1.115 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.8786, allocations: 344.1 kB / 1.116 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.8786, allocations: 35.11 kB / 1.116 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.8787, allocations: 192.4 kB / 1.116 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.8788, allocations: 44.48 kB / 1.116 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.8789, allocations: 32.95 kB / 1.116 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.879, allocations: 345 kB / 1.116 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.8792, allocations: 47.52 kB / 1.116 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.8794, allocations: 91.89 kB / 1.116 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.8797, allocations: 116 kB / 1.117 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8797, allocations: 0 / 1.117 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000413/0.8801, allocations: 179.6 kB / 1.117 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.8802, allocations: 9.344 kB / 1.117 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8802, allocations: 3.938 kB / 1.117 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8802, allocations: 5.234 kB / 1.117 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.8804, allocations: 33.2 kB / 1.117 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.8804, allocations: 1.625 kB / 1.117 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.8806, allocations: 17.06 kB / 1.117 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.8806, allocations: 10.09 kB / 1.117 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002291/0.8809, allocations: 154.7 kB / 1.117 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001783/0.881, allocations: 90.8 kB / 1.117 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000269/0.8813, allocations: 114.2 kB / 1.117 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.8813, allocations: 0 / 1.117 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000359/0.8817, allocations: 175.4 kB / 1.117 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.8817, allocations: 8.703 kB / 1.117 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.8817, allocations: 4 kB / 1.117 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.8817, allocations: 4.938 kB / 1.117 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.8818, allocations: 24.45 kB / 1.117 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.8819, allocations: 1.688 kB / 1.117 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.882, allocations: 20.33 kB / 1.117 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.8821, allocations: 6.094 kB / 1.117 GB, free: 1.977 MB / 0.8731 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.0001185/0.8822, allocations: 194.5 kB / 1.118 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.8823, allocations: 41.11 kB / 1.118 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.8828, allocations: 222 kB / 1.118 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.8828, allocations: 2.359 kB / 1.118 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8828, allocations: 0 / 1.118 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.8828, allocations: 3 kB / 1.118 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.884, allocations: 0.6393 MB / 1.118 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.884, allocations: 1.781 kB / 1.118 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.8841, allocations: 28.48 kB / 1.118 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8841, allocations: 1.922 kB / 1.118 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.8842, allocations: 6.594 kB / 1.118 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.8842, allocations: 2.172 kB / 1.118 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8842, allocations: 0.9688 kB / 1.118 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.8847, allocations: 316.5 kB / 1.119 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.8848, allocations: 125.6 kB / 1.119 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.8849, allocations: 6.922 kB / 1.119 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.8851, allocations: 16.81 kB / 1.119 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.8851, allocations: 17.11 kB / 1.119 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.8852, allocations: 6.234 kB / 1.119 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003218/0.8855, allocations: 246 kB / 1.119 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8855, allocations: 0 / 1.119 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007722/0.8863, allocations: 196.7 kB / 1.119 GB, free: 0.6719 MB / 0.8731 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.0006002/0.8869, allocations: 243.8 kB / 1.12 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.8875, allocations: 189.7 kB / 1.12 GB, free: 496 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.8875, allocations: 0 / 1.12 GB, free: 496 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.8877, allocations: 80.45 kB / 1.12 GB, free: 472 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.8886, allocations: 155.3 kB / 1.12 GB, free: 416 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.8896, allocations: 0.5922 MB / 1.121 GB, free: 12 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.89, allocations: 0.7926 MB / 1.121 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.8901, allocations: 29.47 kB / 1.121 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.8901, allocations: 0 / 1.121 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.01142/0.9015, allocations: 5.78 MB / 1.127 GB, free: 14.64 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches