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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001266/0.001267, allocations: 177.3 kB / 15.94 MB, free: 228 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.515/1.515, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 0.8707 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8182/0.8186, allocations: 153.6 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1696/0.9883, allocations: 135.6 MB / 1.153 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.9917, allocations: 1.628 MB / 1.155 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.9919, allocations: 7.938 kB / 1.155 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.9926, allocations: 179.1 kB / 1.155 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.9942, allocations: 494.6 kB / 1.155 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.9956, allocations: 451.5 kB / 1.156 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.9975, allocations: 1.424 MB / 1.157 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.9987, allocations: 0.7072 MB / 1.158 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.9999, allocations: 0.6695 MB / 1.159 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/1.001, allocations: 481.9 kB / 1.159 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.467e-05/1.001, allocations: 39.94 kB / 1.159 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/1.002, allocations: 407.4 kB / 1.16 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/1.002, allocations: 255.1 kB / 1.16 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002882/1.003, allocations: 229.1 kB / 1.16 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/1.004, allocations: 0.9508 MB / 1.161 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.004, allocations: 0 / 1.161 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.234e-06/1.004, allocations: 0 / 1.161 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.004, allocations: 4 kB / 1.161 GB, free: 1.199 MB / 0.9044 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.00226/1.006, allocations: 1.206 MB / 1.162 GB, free: 15.94 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.006, allocations: 15.98 kB / 1.162 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/1.007, allocations: 182.5 kB / 1.162 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.008, allocations: 0.7524 MB / 1.163 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/1.008, allocations: 41 kB / 1.163 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.008, allocations: 56 kB / 1.163 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.01, allocations: 0.6822 MB / 1.164 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.01, allocations: 0 / 1.164 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/1.01, allocations: 27.77 kB / 1.164 GB, free: 14.13 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/1.01, allocations: 16 kB / 1.164 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/1.011, allocations: 0.523 MB / 1.164 GB, free: 13.59 MB / 0.92 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.004021/1.015, allocations: 3.245 MB / 1.168 GB, free: 9.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/1.015, allocations: 415 kB / 1.168 GB, free: 9.559 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.08e-05/1.015, allocations: 15.98 kB / 1.168 GB, free: 9.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.015, allocations: 34.56 kB / 1.168 GB, free: 9.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/1.015, allocations: 0 / 1.168 GB, free: 9.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=28): time 0.004937/1.02, allocations: 1.489 MB / 1.169 GB, free: 7.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/1.02, allocations: 55.41 kB / 1.169 GB, free: 7.914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/1.022, allocations: 1.065 MB / 1.171 GB, free: 6.828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/1.022, allocations: 33.7 kB / 1.171 GB, free: 6.789 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/1.022, allocations: 436.5 kB / 1.171 GB, free: 6.355 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/1.022, allocations: 102.5 kB / 1.171 GB, free: 6.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/1.022, allocations: 8 kB / 1.171 GB, free: 6.246 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.023, allocations: 321.9 kB / 1.171 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/1.023, allocations: 131.9 kB / 1.172 GB, free: 5.797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/1.023, allocations: 340.2 kB / 1.172 GB, free: 5.391 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/1.024, allocations: 183.1 kB / 1.172 GB, free: 5.215 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.024, allocations: 4 kB / 1.172 GB, free: 5.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001959/1.025, allocations: 0.7271 MB / 1.173 GB, free: 4.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/1.026, allocations: 360.7 kB / 1.173 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.026, allocations: 0 / 1.173 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/1.027, allocations: 333.8 kB / 1.173 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.027, allocations: 23.92 kB / 1.173 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.028, allocations: 1.009 MB / 1.174 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/1.029, allocations: 75.73 kB / 1.174 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/1.029, allocations: 15.98 kB / 1.174 GB, free: 2.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.029, allocations: 4 kB / 1.174 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/1.03, allocations: 0.4907 MB / 1.175 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/1.03, allocations: 0 / 1.175 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/1.031, allocations: 194.4 kB / 1.175 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/1.031, allocations: 32.05 kB / 1.175 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/1.035, allocations: 3.103 MB / 1.178 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/1.035, allocations: 75.69 kB / 1.178 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/1.035, allocations: 19.94 kB / 1.178 GB, free: 14.56 MB / 0.9356 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 () * Number of clocked 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.0006498/1.036, allocations: 444.9 kB / 1.179 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/1.036, allocations: 90.88 kB / 1.179 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/1.038, allocations: 0.719 MB / 1.18 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.038, allocations: 7.953 kB / 1.18 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/1.038, allocations: 0 / 1.18 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.038, allocations: 3.938 kB / 1.18 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/1.04, allocations: 1.505 MB / 1.181 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.04, allocations: 16.16 kB / 1.181 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.04, allocations: 19.98 kB / 1.181 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/1.041, allocations: 222 kB / 1.181 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.041, allocations: 15.94 kB / 1.181 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009659/1.042, allocations: 0.9678 MB / 1.182 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.042, allocations: 8.016 kB / 1.182 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/1.043, allocations: 0.9085 MB / 1.183 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/1.043, allocations: 215.9 kB / 1.183 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/1.044, allocations: 4 kB / 1.183 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/1.044, allocations: 55.84 kB / 1.183 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/1.044, allocations: 19.94 kB / 1.183 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/1.044, allocations: 15.98 kB / 1.183 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00106/1.045, allocations: 0.7591 MB / 1.184 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.045, allocations: 7.938 kB / 1.184 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001105/1.046, allocations: 399.4 kB / 1.185 GB, free: 7.945 MB / 0.9356 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 () * Number of clocked 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.0003854/1.047, allocations: 181.8 kB / 1.185 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00148/1.048, allocations: 0.7417 MB / 1.185 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.048, allocations: 0 / 1.185 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004214/1.049, allocations: 215 kB / 1.186 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.051, allocations: 483.9 kB / 1.186 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/1.053, allocations: 1.916 MB / 1.188 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/1.054, allocations: 1.2 MB / 1.189 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007124/1.055, allocations: 199.3 kB / 1.189 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/1.055, allocations: 55.44 kB / 1.189 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.055, allocations: 4 kB / 1.189 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of Templates: time 0.03678/1.092, allocations: 18.4 MB / 1.207 GB, free: 0.6875 MB / 0.9512 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