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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001516/0.001516, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.001372/0.001372, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8291, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1769/1.006, allocations: 161.5 MB / 1.366 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003209/1.009, allocations: 1.718 MB / 1.368 GB, free: 9.887 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/1.01, allocations: 7.938 kB / 1.368 GB, free: 9.879 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006728/1.011, allocations: 154.9 kB / 1.368 GB, free: 9.727 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/1.012, allocations: 0.5211 MB / 1.368 GB, free: 9.203 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/1.013, allocations: 424.5 kB / 1.369 GB, free: 8.793 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002562/1.016, allocations: 2.45 MB / 1.371 GB, free: 6.34 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/1.017, allocations: 0.9332 MB / 1.372 GB, free: 5.391 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/1.019, allocations: 0.9381 MB / 1.373 GB, free: 4.449 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/1.021, allocations: 0.7117 MB / 1.374 GB, free: 3.734 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002227/1.021, allocations: 56 kB / 1.374 GB, free: 3.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/1.023, allocations: 0.7445 MB / 1.375 GB, free: 2.934 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000446/1.023, allocations: 314.9 kB / 1.375 GB, free: 2.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/1.024, allocations: 0.5362 MB / 1.375 GB, free: 2.086 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/1.026, allocations: 1.398 MB / 1.377 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.026, allocations: 0 / 1.377 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.544e-06/1.026, allocations: 0 / 1.377 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.521e-05/1.026, allocations: 4 kB / 1.377 GB, free: 0.6797 MB / 1.092 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.002725/1.029, allocations: 1.404 MB / 1.378 GB, free: 15.22 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.029, allocations: 12.03 kB / 1.378 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/1.03, allocations: 182.5 kB / 1.378 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.031, allocations: 0.8451 MB / 1.379 GB, free: 14.14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/1.032, allocations: 45 kB / 1.379 GB, free: 14.1 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/1.032, allocations: 59.98 kB / 1.379 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.033, allocations: 0.6823 MB / 1.38 GB, free: 13.35 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.033, allocations: 3.938 kB / 1.38 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/1.033, allocations: 16 kB / 1.38 GB, free: 13.33 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/1.033, allocations: 12 kB / 1.38 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/1.034, allocations: 0.5307 MB / 1.38 GB, free: 12.79 MB / 1.107 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.003684/1.037, allocations: 3.245 MB / 1.384 GB, free: 9.172 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/1.038, allocations: 390.2 kB / 1.384 GB, free: 8.781 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/1.038, allocations: 240.7 kB / 1.384 GB, free: 8.543 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/1.039, allocations: 190.1 kB / 1.384 GB, free: 8.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/1.039, allocations: 42.55 kB / 1.384 GB, free: 8.27 MB / 1.107 GB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/1.039, allocations: 0 / 1.384 GB, free: 8.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=28): time 0.004809/1.044, allocations: 1.482 MB / 1.386 GB, free: 6.758 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/1.044, allocations: 55.41 kB / 1.386 GB, free: 6.691 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/1.045, allocations: 1.069 MB / 1.387 GB, free: 5.602 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/1.045, allocations: 33.7 kB / 1.387 GB, free: 5.562 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/1.045, allocations: 440.8 kB / 1.387 GB, free: 5.129 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/1.046, allocations: 98.58 kB / 1.388 GB, free: 5.031 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.046, allocations: 77.59 kB / 1.388 GB, free: 4.949 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.046, allocations: 325.9 kB / 1.388 GB, free: 4.625 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/1.046, allocations: 172.5 kB / 1.388 GB, free: 4.453 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/1.047, allocations: 352.6 kB / 1.388 GB, free: 4.035 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/1.047, allocations: 391.1 kB / 1.389 GB, free: 3.641 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/1.047, allocations: 0 / 1.389 GB, free: 3.641 MB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002082/1.049, allocations: 0.8035 MB / 1.39 GB, free: 2.828 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.049, allocations: 6.031 kB / 1.39 GB, free: 2.824 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.049, allocations: 4 kB / 1.39 GB, free: 2.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/1.051, allocations: 354.1 kB / 1.39 GB, free: 2.473 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.051, allocations: 23.92 kB / 1.39 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/1.052, allocations: 1.005 MB / 1.391 GB, free: 1.418 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/1.053, allocations: 47.66 kB / 1.391 GB, free: 1.371 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/1.053, allocations: 8 kB / 1.391 GB, free: 1.363 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006315/1.053, allocations: 451.8 kB / 1.391 GB, free: 0.918 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003592/1.054, allocations: 316.5 kB / 1.392 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004632/1.054, allocations: 305.4 kB / 1.392 GB, free: 232 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/1.054, allocations: 0 / 1.392 GB, free: 232 kB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001245/1.055, allocations: 0.6063 MB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.055, allocations: 8 kB / 1.393 GB, free: 15.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.055, allocations: 4 kB / 1.393 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/1.056, allocations: 206.9 kB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/1.056, allocations: 19.98 kB / 1.393 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/1.06, allocations: 3.301 MB / 1.396 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/1.061, allocations: 44.31 kB / 1.396 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/1.061, allocations: 8 kB / 1.396 GB, free: 11.87 MB / 1.123 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.0001675/1.061, allocations: 200.3 kB / 1.396 GB, free: 11.67 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.061, allocations: 98.72 kB / 1.396 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/1.062, allocations: 0.7021 MB / 1.397 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.062, allocations: 4 kB / 1.397 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/1.062, allocations: 0 / 1.397 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.062, allocations: 0 / 1.397 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/1.065, allocations: 1.513 MB / 1.399 GB, free: 9.262 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.065, allocations: 4 kB / 1.399 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/1.065, allocations: 23.92 kB / 1.399 GB, free: 9.234 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/1.065, allocations: 216.6 kB / 1.399 GB, free: 9.02 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/1.065, allocations: 8 kB / 1.399 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/1.066, allocations: 0.9894 MB / 1.4 GB, free: 7.996 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.066, allocations: 3.938 kB / 1.4 GB, free: 7.992 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.068, allocations: 0.7949 MB / 1.401 GB, free: 7.156 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/1.068, allocations: 207.9 kB / 1.401 GB, free: 6.934 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/1.068, allocations: 8 kB / 1.401 GB, free: 6.926 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/1.069, allocations: 19.97 kB / 1.401 GB, free: 6.906 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/1.069, allocations: 27.97 kB / 1.401 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/1.069, allocations: 12 kB / 1.401 GB, free: 6.867 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001101/1.07, allocations: 0.7708 MB / 1.402 GB, free: 6.086 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.07, allocations: 0 / 1.402 GB, free: 6.086 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001152/1.071, allocations: 403.3 kB / 1.402 GB, free: 5.691 MB / 1.123 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.0004626/1.071, allocations: 170.6 kB / 1.402 GB, free: 5.523 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001522/1.073, allocations: 0.7568 MB / 1.403 GB, free: 4.754 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/1.073, allocations: 4.125 kB / 1.403 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004175/1.073, allocations: 214.5 kB / 1.403 GB, free: 4.539 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.075, allocations: 485.9 kB / 1.404 GB, free: 4.062 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.078, allocations: 1.734 MB / 1.405 GB, free: 2.273 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007866/1.079, allocations: 1.18 MB / 1.406 GB, free: 1.066 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.079, allocations: 55.44 kB / 1.406 GB, free: 1.012 MB / 1.123 GB Notification: Performance of SimCode: time 4.31e-07/1.079, allocations: 0 / 1.406 GB, free: 1.012 MB / 1.123 GB Notification: Performance of Templates: time 0.02863/1.108, allocations: 19.96 MB / 1.426 GB, free: 13.15 MB / 1.154 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches