Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001599/0.0016, allocations: 106.1 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.001558/0.001558, allocations: 187 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.381/1.381, 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 9.1.3-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8106, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.2043/1.015, allocations: 161.5 MB / 1.246 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003487/1.018, allocations: 1.716 MB / 1.248 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/1.019, allocations: 11.12 kB / 1.248 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007106/1.02, allocations: 159.5 kB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/1.021, allocations: 0.5145 MB / 1.249 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/1.023, allocations: 429.7 kB / 1.249 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002825/1.026, allocations: 2.453 MB / 1.251 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/1.027, allocations: 0.9332 MB / 1.252 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/1.029, allocations: 0.942 MB / 1.253 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/1.03, allocations: 0.7117 MB / 1.254 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/1.031, allocations: 56 kB / 1.254 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/1.033, allocations: 0.7406 MB / 1.255 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005141/1.033, allocations: 302.9 kB / 1.255 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.034, allocations: 0.5402 MB / 1.256 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/1.036, allocations: 1.404 MB / 1.257 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.036, allocations: 11.94 kB / 1.257 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.963e-06/1.036, allocations: 0 / 1.257 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.938e-05/1.036, allocations: 0 / 1.257 GB, free: 1.297 MB / 0.9825 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.002727/1.039, allocations: 1.404 MB / 1.258 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.039, allocations: 12.03 kB / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008832/1.04, allocations: 182.5 kB / 1.259 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.042, allocations: 0.8449 MB / 1.259 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/1.042, allocations: 41 kB / 1.259 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/1.042, allocations: 56 kB / 1.259 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/1.043, allocations: 0.6901 MB / 1.26 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.043, allocations: 0 / 1.26 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/1.043, allocations: 20 kB / 1.26 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/1.043, allocations: 12 kB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008887/1.044, allocations: 0.519 MB / 1.261 GB, free: 13.41 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.003463/1.047, allocations: 3.249 MB / 1.264 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/1.048, allocations: 393.4 kB / 1.264 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/1.048, allocations: 240.9 kB / 1.264 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/1.049, allocations: 194.2 kB / 1.265 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/1.049, allocations: 46.5 kB / 1.265 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/1.049, allocations: 0 / 1.265 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.004721/1.054, allocations: 1.473 MB / 1.266 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/1.054, allocations: 55.41 kB / 1.266 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.055, allocations: 1.069 MB / 1.267 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/1.055, allocations: 37.7 kB / 1.267 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/1.055, allocations: 452.4 kB / 1.268 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/1.055, allocations: 90.61 kB / 1.268 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.055, allocations: 73.59 kB / 1.268 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.056, allocations: 321.9 kB / 1.268 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/1.056, allocations: 160.7 kB / 1.268 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/1.056, allocations: 360.3 kB / 1.269 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/1.057, allocations: 385.5 kB / 1.269 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.057, allocations: 0 / 1.269 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001927/1.059, allocations: 0.801 MB / 1.27 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.059, allocations: 11.98 kB / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.059, allocations: 0 / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/1.06, allocations: 356.4 kB / 1.27 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/1.06, allocations: 27.92 kB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/1.061, allocations: 0.9995 MB / 1.271 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/1.062, allocations: 47.61 kB / 1.271 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/1.062, allocations: 19.98 kB / 1.271 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005776/1.063, allocations: 455.8 kB / 1.272 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003672/1.063, allocations: 309.8 kB / 1.272 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004652/1.063, allocations: 303.5 kB / 1.272 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/1.063, allocations: 4 kB / 1.272 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001121/1.065, allocations: 0.5999 MB / 1.273 GB, free: 232 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.065, allocations: 6.5 kB / 1.273 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.065, allocations: 4 kB / 1.273 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/1.065, allocations: 202.7 kB / 1.273 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/1.065, allocations: 20.09 kB / 1.273 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/1.069, allocations: 3.298 MB / 1.276 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/1.069, allocations: 56.25 kB / 1.276 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/1.069, allocations: 12 kB / 1.276 GB, free: 12.48 MB / 1.014 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.0001632/1.07, allocations: 192.8 kB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/1.07, allocations: 98.72 kB / 1.277 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/1.071, allocations: 0.7103 MB / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/1.071, allocations: 4 kB / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/1.071, allocations: 0 / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.071, allocations: 0 / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/1.073, allocations: 1.506 MB / 1.279 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.073, allocations: 0 / 1.279 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.074, allocations: 27.92 kB / 1.279 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/1.074, allocations: 228.8 kB / 1.279 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.074, allocations: 8 kB / 1.279 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000882/1.075, allocations: 0.9825 MB / 1.28 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.075, allocations: 3.938 kB / 1.28 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/1.076, allocations: 0.8015 MB / 1.281 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/1.076, allocations: 207.9 kB / 1.281 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.077, allocations: 12 kB / 1.281 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/1.077, allocations: 15.98 kB / 1.281 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/1.077, allocations: 15.97 kB / 1.281 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/1.077, allocations: 12 kB / 1.281 GB, free: 7.484 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00101/1.078, allocations: 0.7747 MB / 1.282 GB, free: 6.699 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.078, allocations: 0 / 1.282 GB, free: 6.699 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001086/1.079, allocations: 395.3 kB / 1.282 GB, free: 6.312 MB / 1.014 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.0004575/1.08, allocations: 184.9 kB / 1.282 GB, free: 6.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001567/1.081, allocations: 0.7541 MB / 1.283 GB, free: 5.367 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.081, allocations: 0 / 1.283 GB, free: 5.367 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/1.082, allocations: 217.5 kB / 1.283 GB, free: 5.156 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.084, allocations: 484.5 kB / 1.284 GB, free: 4.684 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/1.087, allocations: 1.74 MB / 1.285 GB, free: 2.883 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/1.087, allocations: 1.18 MB / 1.287 GB, free: 1.676 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/1.088, allocations: 51.44 kB / 1.287 GB, free: 1.625 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.088, allocations: 0 / 1.287 GB, free: 1.625 MB / 1.014 GB Notification: Performance of Templates: time 0.02805/1.116, allocations: 19.96 MB / 1.306 GB, free: 13.78 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches