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.001449/0.001449, allocations: 105 kB / 16.41 MB, free: 6.508 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.001493/0.001493, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 64.12 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8457, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1822/1.028, allocations: 161.5 MB / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003512/1.032, allocations: 1.714 MB / 1.368 GB, free: 9.777 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/1.032, allocations: 7.938 kB / 1.368 GB, free: 9.77 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006936/1.033, allocations: 162.9 kB / 1.368 GB, free: 9.609 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/1.034, allocations: 0.5094 MB / 1.368 GB, free: 9.098 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/1.036, allocations: 429.9 kB / 1.369 GB, free: 8.684 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002798/1.039, allocations: 2.458 MB / 1.371 GB, free: 6.219 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/1.04, allocations: 0.9293 MB / 1.372 GB, free: 5.273 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/1.042, allocations: 0.9458 MB / 1.373 GB, free: 4.324 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/1.043, allocations: 0.7078 MB / 1.374 GB, free: 3.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/1.044, allocations: 60 kB / 1.374 GB, free: 3.555 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/1.045, allocations: 0.7328 MB / 1.375 GB, free: 2.82 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004545/1.046, allocations: 314.9 kB / 1.375 GB, free: 2.512 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009666/1.047, allocations: 0.5363 MB / 1.375 GB, free: 1.973 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/1.049, allocations: 1.408 MB / 1.377 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.049, allocations: 0 / 1.377 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.884e-06/1.049, allocations: 0 / 1.377 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.462e-05/1.049, allocations: 0 / 1.377 GB, free: 0.5625 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.002771/1.052, allocations: 1.408 MB / 1.378 GB, free: 15.1 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.052, allocations: 8.031 kB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/1.053, allocations: 178.5 kB / 1.378 GB, free: 14.92 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/1.054, allocations: 0.8451 MB / 1.379 GB, free: 14.03 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/1.054, allocations: 41 kB / 1.379 GB, free: 13.99 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-05/1.054, allocations: 56 kB / 1.379 GB, free: 13.94 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/1.056, allocations: 0.6862 MB / 1.38 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.056, allocations: 0 / 1.38 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.784e-05/1.056, allocations: 24 kB / 1.38 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/1.056, allocations: 12 kB / 1.38 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009376/1.057, allocations: 0.5151 MB / 1.38 GB, free: 12.69 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.00368/1.06, allocations: 3.253 MB / 1.384 GB, free: 9.066 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/1.061, allocations: 394.2 kB / 1.384 GB, free: 8.672 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/1.061, allocations: 238.2 kB / 1.384 GB, free: 8.438 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/1.062, allocations: 198.2 kB / 1.384 GB, free: 8.207 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/1.062, allocations: 34.5 kB / 1.384 GB, free: 8.164 MB / 1.107 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/1.062, allocations: 0 / 1.384 GB, free: 8.164 MB / 1.107 GB Notification: Performance of matching and sorting (n=28): time 0.004941/1.067, allocations: 1.485 MB / 1.386 GB, free: 6.648 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/1.067, allocations: 55.41 kB / 1.386 GB, free: 6.582 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/1.068, allocations: 1.065 MB / 1.387 GB, free: 5.496 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/1.068, allocations: 41.69 kB / 1.387 GB, free: 5.449 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/1.069, allocations: 436.5 kB / 1.387 GB, free: 5.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/1.069, allocations: 94.59 kB / 1.388 GB, free: 4.926 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.069, allocations: 73.61 kB / 1.388 GB, free: 4.848 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.069, allocations: 321.9 kB / 1.388 GB, free: 4.527 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/1.069, allocations: 168.6 kB / 1.388 GB, free: 4.359 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/1.07, allocations: 360.6 kB / 1.388 GB, free: 3.934 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/1.07, allocations: 389.9 kB / 1.389 GB, free: 3.543 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.07, allocations: 0 / 1.389 GB, free: 3.543 MB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002075/1.072, allocations: 0.8127 MB / 1.39 GB, free: 2.719 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.072, allocations: 5.875 kB / 1.39 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/1.072, allocations: 336 / 1.39 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/1.074, allocations: 361.9 kB / 1.39 GB, free: 2.359 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.074, allocations: 19.92 kB / 1.39 GB, free: 2.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.075, allocations: 1.005 MB / 1.391 GB, free: 1.309 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/1.076, allocations: 51.64 kB / 1.391 GB, free: 1.258 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.076, allocations: 16.06 kB / 1.391 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006405/1.076, allocations: 447.8 kB / 1.391 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003835/1.077, allocations: 322.6 kB / 1.392 GB, free: 424 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004727/1.077, allocations: 309.2 kB / 1.392 GB, free: 104 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/1.077, allocations: 0 / 1.392 GB, free: 104 kB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001264/1.079, allocations: 0.5969 MB / 1.393 GB, free: 15.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.079, allocations: 8 kB / 1.393 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.079, allocations: 0 / 1.393 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/1.079, allocations: 211 kB / 1.393 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.079, allocations: 15.98 kB / 1.393 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/1.083, allocations: 3.294 MB / 1.396 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/1.084, allocations: 44.34 kB / 1.396 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/1.084, allocations: 8 kB / 1.396 GB, free: 11.77 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.0002068/1.084, allocations: 196.3 kB / 1.396 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/1.084, allocations: 98.72 kB / 1.396 GB, free: 11.47 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.086, allocations: 0.706 MB / 1.397 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.086, allocations: 4.094 kB / 1.397 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.086, allocations: 0 / 1.397 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.086, allocations: 7.969 kB / 1.397 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.088, allocations: 1.505 MB / 1.399 GB, free: 9.156 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.088, allocations: 4 kB / 1.399 GB, free: 9.152 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.088, allocations: 24.14 kB / 1.399 GB, free: 9.129 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/1.089, allocations: 228.5 kB / 1.399 GB, free: 8.902 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.089, allocations: 8 kB / 1.399 GB, free: 8.895 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009256/1.09, allocations: 0.9792 MB / 1.4 GB, free: 7.891 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.09, allocations: 8.031 kB / 1.4 GB, free: 7.883 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/1.091, allocations: 0.7941 MB / 1.401 GB, free: 7.051 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/1.091, allocations: 219.9 kB / 1.401 GB, free: 6.816 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.092, allocations: 4 kB / 1.401 GB, free: 6.812 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/1.092, allocations: 19.97 kB / 1.401 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/1.092, allocations: 19.98 kB / 1.401 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/1.092, allocations: 15.98 kB / 1.401 GB, free: 6.758 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001036/1.093, allocations: 0.7708 MB / 1.402 GB, free: 5.977 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.543e-06/1.093, allocations: 0 / 1.402 GB, free: 5.977 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001088/1.094, allocations: 407.2 kB / 1.402 GB, free: 5.578 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.000429/1.095, allocations: 172.3 kB / 1.402 GB, free: 5.41 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001522/1.096, allocations: 0.758 MB / 1.403 GB, free: 4.637 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.096, allocations: 0 / 1.403 GB, free: 4.637 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/1.097, allocations: 215 kB / 1.403 GB, free: 4.426 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.099, allocations: 481.5 kB / 1.404 GB, free: 3.953 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/1.101, allocations: 1.736 MB / 1.405 GB, free: 2.164 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/1.102, allocations: 1.18 MB / 1.406 GB, free: 0.957 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.102, allocations: 55.42 kB / 1.406 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of SimCode: time 3.9e-07/1.102, allocations: 0 / 1.406 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of Templates: time 0.02676/1.129, allocations: 19.95 MB / 1.426 GB, free: 13.04 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