Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 390.5 MB / 398 MB, free: 10.94 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.001396/0.001396, allocations: 171.2 kB / 491.2 MB, free: 1.574 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.757/1.757, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009351/0.0009351, allocations: 91.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.969e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2964, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.035/6.331, allocations: 1.868 GB / 3.08 GB, free: 358.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/6.331, allocations: 84.89 kB / 3.08 GB, free: 358.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.501/9.832, allocations: 0.9559 GB / 4.036 GB, free: 329.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.364e-06/9.832, allocations: 0 / 4.036 GB, free: 329.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001907/9.833, allocations: 26.86 kB / 4.036 GB, free: 329.3 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003208/9.836, allocations: 1.097 MB / 4.037 GB, free: 328.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/9.836, allocations: 6.906 kB / 4.037 GB, free: 328.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/9.837, allocations: 181.2 kB / 4.038 GB, free: 328.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/9.84, allocations: 1.064 MB / 4.039 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/9.84, allocations: 21.12 kB / 4.039 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/9.841, allocations: 39.03 kB / 4.039 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008675/9.841, allocations: 479.7 kB / 4.039 GB, free: 327.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009627/9.842, allocations: 0.5628 MB / 4.04 GB, free: 327.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/9.842, allocations: 0 / 4.04 GB, free: 327.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/9.842, allocations: 3.984 kB / 4.04 GB, free: 327.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/9.842, allocations: 14.53 kB / 4.04 GB, free: 327.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.004051/9.847, allocations: 3.101 MB / 4.043 GB, free: 324.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/9.847, allocations: 426 kB / 4.043 GB, free: 324.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/9.847, allocations: 234.7 kB / 4.043 GB, free: 324.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/9.848, allocations: 201.2 kB / 4.044 GB, free: 324 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/9.848, allocations: 33.7 kB / 4.044 GB, free: 324 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/9.848, allocations: 0 / 4.044 GB, free: 324 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001808/9.85, allocations: 0.7332 MB / 4.044 GB, free: 323.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/9.85, allocations: 54.81 kB / 4.044 GB, free: 323.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/9.851, allocations: 0.7762 MB / 4.045 GB, free: 323.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/9.851, allocations: 25.7 kB / 4.045 GB, free: 323.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/9.851, allocations: 444.8 kB / 4.046 GB, free: 322.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.431e-05/9.851, allocations: 94.31 kB / 4.046 GB, free: 322.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/9.851, allocations: 0 / 4.046 GB, free: 322.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/9.851, allocations: 325.4 kB / 4.046 GB, free: 322.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/9.851, allocations: 133.5 kB / 4.046 GB, free: 322.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/9.852, allocations: 337.8 kB / 4.046 GB, free: 322 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/9.852, allocations: 184.3 kB / 4.047 GB, free: 321.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/9.852, allocations: 0 / 4.047 GB, free: 321.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001406/9.853, allocations: 0.7133 MB / 4.047 GB, free: 321.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/9.854, allocations: 365.3 kB / 4.048 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/9.854, allocations: 3.5 kB / 4.048 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/9.854, allocations: 218 kB / 4.048 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/9.854, allocations: 26.58 kB / 4.048 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/9.855, allocations: 1.09 MB / 4.049 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/9.856, allocations: 66 kB / 4.049 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/9.856, allocations: 15.7 kB / 4.049 GB, free: 320.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/9.856, allocations: 7.812 kB / 4.049 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008309/9.857, allocations: 443.6 kB / 4.049 GB, free: 319.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/9.857, allocations: 3.984 kB / 4.049 GB, free: 319.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/9.857, allocations: 193.4 kB / 4.05 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/9.858, allocations: 19.98 kB / 4.05 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/9.861, allocations: 2.939 MB / 4.053 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/9.862, allocations: 63.88 kB / 4.053 GB, free: 316.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/9.862, allocations: 15.98 kB / 4.053 GB, free: 316.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001349/9.862, allocations: 112.9 kB / 4.053 GB, free: 316.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/9.862, allocations: 90.97 kB / 4.053 GB, free: 316.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/9.863, allocations: 0.6386 MB / 4.053 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/9.863, allocations: 11.94 kB / 4.053 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/9.863, allocations: 0 / 4.053 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/9.863, allocations: 0 / 4.053 GB, free: 315.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/9.865, allocations: 1.36 MB / 4.055 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/9.865, allocations: 0 / 4.055 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/9.865, allocations: 36.14 kB / 4.055 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/9.866, allocations: 177.5 kB / 4.055 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/9.866, allocations: 4 kB / 4.055 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00074/9.867, allocations: 0.9846 MB / 4.056 GB, free: 313 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/9.867, allocations: 8.156 kB / 4.056 GB, free: 313 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/9.867, allocations: 0.8241 MB / 4.057 GB, free: 312.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/9.868, allocations: 207.9 kB / 4.057 GB, free: 311.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/9.868, allocations: 4 kB / 4.057 GB, free: 311.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/9.869, allocations: 59.8 kB / 4.057 GB, free: 311.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/9.869, allocations: 27.91 kB / 4.057 GB, free: 311.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/9.869, allocations: 8 kB / 4.057 GB, free: 311.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007679/9.869, allocations: 0.6083 MB / 4.058 GB, free: 311.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/9.869, allocations: 4 kB / 4.058 GB, free: 311.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001584/9.871, allocations: 455.2 kB / 4.058 GB, free: 310.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00182/9.873, allocations: 1.014 MB / 4.059 GB, free: 309.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001274/9.874, allocations: 0.7082 MB / 4.06 GB, free: 309.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/9.874, allocations: 4 kB / 4.06 GB, free: 309.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/9.874, allocations: 174.6 kB / 4.06 GB, free: 308.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/9.876, allocations: 406.7 kB / 4.06 GB, free: 308.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/9.879, allocations: 1.281 MB / 4.062 GB, free: 307.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/9.879, allocations: 1.201 MB / 4.063 GB, free: 306 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001534/9.881, allocations: 0.5409 MB / 4.063 GB, free: 305.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/9.881, allocations: 39.44 kB / 4.063 GB, free: 305.4 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/9.881, allocations: 0 / 4.063 GB, free: 305.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03603/9.917, allocations: 21.21 MB / 4.084 GB, free: 284.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches