Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 249.3 MB / 261.9 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001088, allocations: 184.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 94.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.355e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2276, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/6.178, allocations: 2.18 GB / 3.072 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/6.179, allocations: 86.89 kB / 3.072 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.575/9.753, allocations: 0.9252 GB / 3.997 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.399e-06/9.753, allocations: 3.938 kB / 3.997 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001303/9.753, allocations: 35.83 kB / 3.997 GB, free: 220.5 MB / 0.8698 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.002481/9.756, allocations: 1.088 MB / 3.999 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 9.524e-05/9.756, allocations: 10.75 kB / 3.999 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009065/9.757, allocations: 185.3 kB / 3.999 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/9.759, allocations: 1.074 MB / 4 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/9.759, allocations: 40.41 kB / 4 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/9.759, allocations: 62.55 kB / 4 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/9.761, allocations: 0.6244 MB / 4.001 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/9.761, allocations: 8 kB / 4.001 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/9.761, allocations: 20 kB / 4.001 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/9.761, allocations: 12 kB / 4.001 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/9.762, allocations: 458.8 kB / 4.001 GB, free: 218 MB / 0.8698 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.003856/9.765, allocations: 3.24 MB / 4.004 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/9.766, allocations: 364.7 kB / 4.004 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/9.766, allocations: 215.6 kB / 4.005 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/9.766, allocations: 198.4 kB / 4.005 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/9.767, allocations: 46.73 kB / 4.005 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/9.767, allocations: 0 / 4.005 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.001461/9.768, allocations: 0.6374 MB / 4.006 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/9.768, allocations: 55.39 kB / 4.006 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/9.769, allocations: 0.9392 MB / 4.007 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/9.769, allocations: 33.7 kB / 4.007 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/9.77, allocations: 436.8 kB / 4.007 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/9.77, allocations: 98.58 kB / 4.007 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/9.77, allocations: 8 kB / 4.007 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/9.77, allocations: 325.9 kB / 4.007 GB, free: 211 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/9.77, allocations: 111.9 kB / 4.007 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/9.77, allocations: 326.4 kB / 4.008 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/9.771, allocations: 163.2 kB / 4.008 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/9.771, allocations: 4 kB / 4.008 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008653/9.771, allocations: 0.6264 MB / 4.009 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/9.772, allocations: 364.8 kB / 4.009 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/9.772, allocations: 4 kB / 4.009 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/9.772, allocations: 228.4 kB / 4.009 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/9.772, allocations: 19.98 kB / 4.009 GB, free: 209 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007611/9.773, allocations: 0.9944 MB / 4.01 GB, free: 208 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/9.774, allocations: 91.59 kB / 4.01 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/9.774, allocations: 11.98 kB / 4.01 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/9.774, allocations: 4.625 kB / 4.01 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007904/9.775, allocations: 472.1 kB / 4.011 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/9.775, allocations: 0 / 4.011 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/9.775, allocations: 211.3 kB / 4.011 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/9.775, allocations: 27.92 kB / 4.011 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/9.778, allocations: 3.029 MB / 4.014 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/9.779, allocations: 91.7 kB / 4.014 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/9.779, allocations: 8.188 kB / 4.014 GB, free: 203.9 MB / 0.8698 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.0001278/9.779, allocations: 129.5 kB / 4.014 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/9.779, allocations: 98.73 kB / 4.014 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/9.78, allocations: 0.6784 MB / 4.015 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/9.78, allocations: 0 / 4.015 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/9.78, allocations: 7.984 kB / 4.015 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/9.78, allocations: 0 / 4.015 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/9.782, allocations: 1.466 MB / 4.016 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/9.782, allocations: 0 / 4.016 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.774e-05/9.782, allocations: 23.92 kB / 4.016 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/9.783, allocations: 228.7 kB / 4.017 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/9.783, allocations: 8 kB / 4.017 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006311/9.784, allocations: 0.9765 MB / 4.017 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/9.784, allocations: 3.984 kB / 4.017 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/9.784, allocations: 0.8657 MB / 4.018 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/9.785, allocations: 211.9 kB / 4.019 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/9.785, allocations: 8 kB / 4.019 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/9.785, allocations: 55.8 kB / 4.019 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/9.785, allocations: 27.91 kB / 4.019 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/9.785, allocations: 12 kB / 4.019 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007629/9.786, allocations: 0.7558 MB / 4.019 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/9.786, allocations: 0 / 4.019 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0013/9.787, allocations: 475.5 kB / 4.02 GB, free: 197.7 MB / 0.8698 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.001182/9.789, allocations: 0.912 MB / 4.021 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001082/9.79, allocations: 0.7097 MB / 4.021 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/9.79, allocations: 3.938 kB / 4.021 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/9.79, allocations: 199.1 kB / 4.022 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/9.792, allocations: 476 kB / 4.022 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/9.794, allocations: 1.335 MB / 4.023 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/9.794, allocations: 1.194 MB / 4.025 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001324/9.796, allocations: 0.6041 MB / 4.025 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/9.796, allocations: 35.44 kB / 4.025 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/9.796, allocations: 0 / 4.025 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.04059/9.836, allocations: 33.61 MB / 4.058 GB, free: 158.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches