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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001405/0.001405, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001707/0.001707, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.623/2.623, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004276, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8883, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01261/0.9009, allocations: 13.77 MB / 0.9679 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005597/0.9066, allocations: 3.622 MB / 0.9714 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.9071, allocations: 16.06 kB / 0.9714 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.9077, allocations: 143.5 kB / 0.9716 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.9093, allocations: 0.5508 MB / 0.9721 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.9106, allocations: 405.7 kB / 0.9725 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.9125, allocations: 1.19 MB / 0.9737 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004628/0.913, allocations: 223.2 kB / 0.9739 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.9138, allocations: 358 kB / 0.9742 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.9142, allocations: 254.4 kB / 0.9744 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.9142, allocations: 12.59 kB / 0.9745 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.9156, allocations: 0.6318 MB / 0.9751 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.9157, allocations: 62.45 kB / 0.9751 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.9159, allocations: 93.05 kB / 0.9752 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007887/0.9167, allocations: 491.1 kB / 0.9757 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9167, allocations: 1.344 kB / 0.9757 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9167, allocations: 0 / 0.9757 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.9167, allocations: 0 / 0.9757 GB, free: 7.066 MB / 0.7325 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.001119/0.9178, allocations: 0.6875 MB / 0.9764 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.9179, allocations: 12.38 kB / 0.9764 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.918, allocations: 45.36 kB / 0.9764 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.9189, allocations: 483.6 kB / 0.9769 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.9189, allocations: 11.8 kB / 0.9769 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.919, allocations: 17.12 kB / 0.9769 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.9194, allocations: 194.4 kB / 0.9771 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.9194, allocations: 0 / 0.9771 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.9194, allocations: 6.25 kB / 0.9771 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.9194, allocations: 4.781 kB / 0.9771 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.9198, allocations: 156.7 kB / 0.9773 GB, free: 5.812 MB / 0.7325 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.001247/0.921, allocations: 0.8575 MB / 0.9781 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.9213, allocations: 124.3 kB / 0.9782 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.9215, allocations: 81.88 kB / 0.9783 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.9219, allocations: 340.7 kB / 0.9786 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.9219, allocations: 35.55 kB / 0.9786 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.9219, allocations: 0 / 0.9786 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0005765/0.9225, allocations: 238.8 kB / 0.9789 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.9226, allocations: 52.97 kB / 0.9789 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.9229, allocations: 339.8 kB / 0.9793 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.923, allocations: 36.05 kB / 0.9793 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.9232, allocations: 198.5 kB / 0.9795 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.9232, allocations: 32.53 kB / 0.9795 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.9232, allocations: 5.312 kB / 0.9795 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9234, allocations: 346.1 kB / 0.9798 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.9235, allocations: 43.91 kB / 0.9799 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.9237, allocations: 93.8 kB / 0.98 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.9238, allocations: 56.53 kB / 0.98 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.9238, allocations: 0 / 0.98 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004445/0.9243, allocations: 184.3 kB / 0.9802 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.9244, allocations: 107.4 kB / 0.9803 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.9244, allocations: 1.312 kB / 0.9803 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.9244, allocations: 1.156 kB / 0.9803 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.9245, allocations: 33.56 kB / 0.9803 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.9246, allocations: 13.27 kB / 0.9804 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.9248, allocations: 31.78 kB / 0.9804 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.9248, allocations: 4.156 kB / 0.9804 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/0.9248, allocations: 3.438 kB / 0.9804 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000297/0.9251, allocations: 126 kB / 0.9805 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.9252, allocations: 0.7812 kB / 0.9805 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-06/0.9252, allocations: 1.125 kB / 0.9805 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.9253, allocations: 29.08 kB / 0.9805 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.9253, allocations: 1 kB / 0.9805 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.9255, allocations: 39.33 kB / 0.9806 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.9255, allocations: 8.906 kB / 0.9806 GB, free: 3.027 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.9257, allocations: 217.9 kB / 0.9808 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.9258, allocations: 32.31 kB / 0.9808 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.9263, allocations: 239.1 kB / 0.9811 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.9263, allocations: 2.312 kB / 0.9811 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9263, allocations: 0 / 0.9811 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.9263, allocations: 3.953 kB / 0.9811 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.9272, allocations: 0.6398 MB / 0.9817 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.9272, allocations: 0 / 0.9817 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.9274, allocations: 34.67 kB / 0.9817 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9274, allocations: 1.375 kB / 0.9817 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.9274, allocations: 6.078 kB / 0.9817 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.9274, allocations: 2.062 kB / 0.9817 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.9274, allocations: 1.062 kB / 0.9817 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.9278, allocations: 324.2 kB / 0.982 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.928, allocations: 143.5 kB / 0.9822 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.928, allocations: 6.406 kB / 0.9822 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.9283, allocations: 30.48 kB / 0.9822 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.9283, allocations: 13.33 kB / 0.9822 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.9284, allocations: 4.406 kB / 0.9822 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002547/0.9286, allocations: 242 kB / 0.9825 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9286, allocations: 0 / 0.9825 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007541/0.9294, allocations: 191.1 kB / 0.9826 GB, free: 1.488 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006113/0.93, allocations: 253.6 kB / 0.9829 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.9305, allocations: 204.3 kB / 0.9831 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9306, allocations: 0 / 0.9831 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.9307, allocations: 81.33 kB / 0.9832 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.9315, allocations: 149.9 kB / 0.9833 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.9326, allocations: 0.6955 MB / 0.984 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.9332, allocations: 0.797 MB / 0.9848 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002686/0.9335, allocations: 80.97 kB / 0.9848 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.9335, allocations: 31.44 kB / 0.9849 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.9335, allocations: 0 / 0.9849 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.01289/0.9464, allocations: 6.09 MB / 0.9908 GB, free: 9.766 MB / 0.7481 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches