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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001634/0.001634, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 195.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 71.38 kB / 0.9121 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1568/0.4505, allocations: 161.5 MB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.4531, allocations: 1.718 MB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.4533, allocations: 15.94 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.4539, allocations: 154.9 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.455, allocations: 0.5134 MB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.4559, allocations: 417.8 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.4581, allocations: 2.45 MB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.4591, allocations: 0.9333 MB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.4603, allocations: 0.9264 MB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007258/0.4611, allocations: 0.7117 MB / 1.234 GB, free: 412 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.4612, allocations: 56 kB / 1.234 GB, free: 356 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.4625, allocations: 0.7367 MB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.4628, allocations: 322.8 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005489/0.4634, allocations: 0.5324 MB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.4648, allocations: 1.386 MB / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4648, allocations: 0 / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4648, allocations: 0 / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.4648, allocations: 0 / 1.237 GB, free: 13.37 MB / 0.9981 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.00195/0.4668, allocations: 1.408 MB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4668, allocations: 12.03 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007298/0.4675, allocations: 178.5 kB / 1.238 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.4686, allocations: 0.7943 MB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4687, allocations: 41 kB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.4688, allocations: 60 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.4698, allocations: 0.6861 MB / 1.24 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4699, allocations: 0 / 1.24 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.4699, allocations: 20 kB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.4699, allocations: 15.98 kB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.4708, allocations: 0.5113 MB / 1.24 GB, free: 9.539 MB / 0.9981 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.003292/0.4741, allocations: 3.268 MB / 1.243 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.4747, allocations: 402.4 kB / 1.244 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.4751, allocations: 234.4 kB / 1.244 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.4753, allocations: 194.2 kB / 1.244 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4754, allocations: 34.56 kB / 1.244 GB, free: 5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.4754, allocations: 0 / 1.244 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.004773/0.4802, allocations: 1.49 MB / 1.246 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.4802, allocations: 51.41 kB / 1.246 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.4814, allocations: 1.077 MB / 1.247 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.4815, allocations: 41.64 kB / 1.247 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.4819, allocations: 444.3 kB / 1.247 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.4819, allocations: 94.59 kB / 1.247 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.4821, allocations: 69.61 kB / 1.247 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.4822, allocations: 318 kB / 1.248 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.4825, allocations: 160.7 kB / 1.248 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.4829, allocations: 360.7 kB / 1.248 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.4835, allocations: 386.3 kB / 1.249 GB, free: 392 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4835, allocations: 336 / 1.249 GB, free: 392 kB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.537/1.02, allocations: 0.7948 MB / 1.249 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/1.021, allocations: 14.59 kB / 1.249 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.021, allocations: 8.266 kB / 1.249 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/1.022, allocations: 357.3 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/1.022, allocations: 18.62 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/1.024, allocations: 1.003 MB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/1.024, allocations: 52.94 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/1.024, allocations: 13.56 kB / 1.251 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000734/1.025, allocations: 451.9 kB / 1.251 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000361/1.025, allocations: 316.2 kB / 1.251 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005272/1.026, allocations: 305.1 kB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/1.026, allocations: 0.7188 kB / 1.252 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.00127/1.027, allocations: 0.6071 MB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.027, allocations: 4.812 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.027, allocations: 0.875 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/1.028, allocations: 202.3 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.028, allocations: 20.89 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/1.031, allocations: 3.302 MB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/1.032, allocations: 41.61 kB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/1.032, allocations: 8.297 kB / 1.256 GB, free: 182.8 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/1.032, allocations: 199.4 kB / 1.256 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.032, allocations: 107.3 kB / 1.256 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/1.034, allocations: 0.7048 MB / 1.257 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.034, allocations: 3.062 kB / 1.257 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/1.034, allocations: 0.875 kB / 1.257 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.034, allocations: 3.469 kB / 1.257 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/1.036, allocations: 1.507 MB / 1.258 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.036, allocations: 2.844 kB / 1.258 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.036, allocations: 23.41 kB / 1.258 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/1.036, allocations: 219 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.036, allocations: 12.06 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007297/1.037, allocations: 0.9834 MB / 1.26 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.037, allocations: 2.875 kB / 1.26 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.038, allocations: 0.793 MB / 1.26 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/1.038, allocations: 215.5 kB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/1.038, allocations: 7.047 kB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/1.039, allocations: 22.31 kB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/1.039, allocations: 20.97 kB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.039, allocations: 13.08 kB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008984/1.04, allocations: 0.7699 MB / 1.261 GB, free: 181 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.04, allocations: 0 / 1.261 GB, free: 181 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009071/1.041, allocations: 404.9 kB / 1.262 GB, free: 181 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003663/1.041, allocations: 184.8 kB / 1.262 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00141/1.042, allocations: 0.7607 MB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.042, allocations: 2.719 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004195/1.043, allocations: 205.5 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/1.045, allocations: 492.7 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/1.047, allocations: 1.703 MB / 1.265 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/1.048, allocations: 1.182 MB / 1.266 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006391/1.048, allocations: 204.1 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/1.048, allocations: 59.16 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.048, allocations: 0 / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03448/1.083, allocations: 19.75 MB / 1.286 GB, free: 172.4 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches