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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 172.9 kB / 492.3 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 91.12 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.65e-05, allocations: 4 kB / 1.073 GB, free: 180.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3375, allocations: 142.3 MB / 1.212 GB, free: 38.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.406/1.744, allocations: 413.1 MB / 1.616 GB, free: 1.922 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.744, allocations: 87.25 kB / 1.616 GB, free: 1.875 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.163/2.908, allocations: 171.6 MB / 1.783 GB, free: 377.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.805e-06/2.908, allocations: 0.9688 kB / 1.783 GB, free: 377.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.143e-05/2.908, allocations: 9.75 kB / 1.783 GB, free: 377.6 MB / 1.151 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.00109/2.909, allocations: 0.6703 MB / 1.784 GB, free: 377.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/2.909, allocations: 9.812 kB / 1.784 GB, free: 377.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/2.909, allocations: 44.44 kB / 1.784 GB, free: 377.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03316/2.942, allocations: 14.64 MB / 1.798 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/2.942, allocations: 10.92 kB / 1.798 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/2.942, allocations: 21.94 kB / 1.798 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/2.943, allocations: 165.7 kB / 1.799 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/2.943, allocations: 2.562 kB / 1.799 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/2.943, allocations: 5.938 kB / 1.799 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/2.943, allocations: 3.875 kB / 1.799 GB, free: 376.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/2.943, allocations: 104 kB / 1.799 GB, free: 376.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001054/2.944, allocations: 0.8335 MB / 1.8 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/2.944, allocations: 104.7 kB / 1.8 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.907e-05/2.944, allocations: 48.22 kB / 1.8 GB, free: 375.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/2.945, allocations: 341.6 kB / 1.8 GB, free: 375.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/2.945, allocations: 30.56 kB / 1.8 GB, free: 375.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/2.945, allocations: 3.906 kB / 1.8 GB, free: 375.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.0002775/2.945, allocations: 137 kB / 1.8 GB, free: 375.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/2.945, allocations: 51.41 kB / 1.8 GB, free: 375.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/2.945, allocations: 291.3 kB / 1.801 GB, free: 375.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/2.945, allocations: 30.58 kB / 1.801 GB, free: 375.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/2.945, allocations: 202.3 kB / 1.801 GB, free: 375.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/2.945, allocations: 38 kB / 1.801 GB, free: 375 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/2.945, allocations: 0 / 1.801 GB, free: 375 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/2.946, allocations: 346.6 kB / 1.801 GB, free: 374.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/2.946, allocations: 25.78 kB / 1.801 GB, free: 374.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/2.946, allocations: 89.25 kB / 1.801 GB, free: 374.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/2.946, allocations: 34.36 kB / 1.801 GB, free: 374.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/2.946, allocations: 2.438 kB / 1.801 GB, free: 374.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001801/2.946, allocations: 142.5 kB / 1.801 GB, free: 374.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/2.946, allocations: 181.7 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/2.946, allocations: 3.938 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/2.946, allocations: 0 / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/2.946, allocations: 37.06 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/2.946, allocations: 3.953 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/2.946, allocations: 30.08 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/2.946, allocations: 9.891 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/2.946, allocations: 3.906 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001279/2.947, allocations: 81.27 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/2.947, allocations: 0 / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-06/2.947, allocations: 0 / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/2.947, allocations: 31.95 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/2.947, allocations: 0 / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/2.947, allocations: 24.83 kB / 1.802 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/2.947, allocations: 11.61 kB / 1.802 GB, free: 374.4 MB / 1.151 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 () * 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 6.59e-05/2.947, allocations: 117.3 kB / 1.802 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/2.947, allocations: 38.27 kB / 1.802 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/2.947, allocations: 197.7 kB / 1.802 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/2.947, allocations: 3.969 kB / 1.802 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/2.947, allocations: 0 / 1.802 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/2.947, allocations: 0 / 1.802 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/2.948, allocations: 0.5764 MB / 1.803 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/2.948, allocations: 0 / 1.803 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/2.948, allocations: 27.8 kB / 1.803 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/2.948, allocations: 3.703 kB / 1.803 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/2.948, allocations: 7.938 kB / 1.803 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/2.948, allocations: 4.844 kB / 1.803 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/2.948, allocations: 3.703 kB / 1.803 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/2.948, allocations: 326.9 kB / 1.803 GB, free: 373.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/2.949, allocations: 122.8 kB / 1.803 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/2.949, allocations: 7.75 kB / 1.803 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/2.949, allocations: 25.97 kB / 1.803 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/2.949, allocations: 12.5 kB / 1.803 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/2.949, allocations: 11.11 kB / 1.803 GB, free: 373.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001835/2.949, allocations: 227.9 kB / 1.803 GB, free: 373.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/2.949, allocations: 0 / 1.803 GB, free: 373.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005749/2.95, allocations: 166.4 kB / 1.804 GB, free: 373.2 MB / 1.151 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 () * 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.0006534/2.95, allocations: 287.1 kB / 1.804 GB, free: 373.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002816/2.951, allocations: 150.3 kB / 1.804 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.951, allocations: 0 / 1.804 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/2.951, allocations: 61.95 kB / 1.804 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/2.951, allocations: 141.5 kB / 1.804 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/2.952, allocations: 391.2 kB / 1.805 GB, free: 372.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/2.952, allocations: 0.8053 MB / 1.805 GB, free: 372.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003146/2.953, allocations: 90.2 kB / 1.805 GB, free: 372.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/2.953, allocations: 22.91 kB / 1.805 GB, free: 372.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.293e-06/2.953, allocations: 0 / 1.805 GB, free: 372.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01196/2.965, allocations: 7.325 MB / 1.813 GB, free: 371.8 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches