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.00806/0.00806, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001806/0.001806, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.458/1.458, allocations: 222.9 MB / 240.3 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.739/2.739, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 64.12 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8954, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.177/1.072, allocations: 161.5 MB / 1.365 GB, free: 11.48 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003009/1.075, allocations: 1.714 MB / 1.367 GB, free: 9.766 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/1.076, allocations: 11.94 kB / 1.367 GB, free: 9.754 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/1.077, allocations: 166.9 kB / 1.367 GB, free: 9.59 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/1.078, allocations: 0.5056 MB / 1.368 GB, free: 9.082 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/1.08, allocations: 434 kB / 1.368 GB, free: 8.664 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002706/1.082, allocations: 2.45 MB / 1.371 GB, free: 6.207 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/1.084, allocations: 0.9255 MB / 1.372 GB, free: 5.266 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/1.085, allocations: 0.9458 MB / 1.372 GB, free: 4.316 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/1.087, allocations: 0.7156 MB / 1.373 GB, free: 3.598 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/1.087, allocations: 56 kB / 1.373 GB, free: 3.543 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/1.088, allocations: 0.7328 MB / 1.374 GB, free: 2.809 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/1.089, allocations: 314.9 kB / 1.374 GB, free: 2.5 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006366/1.089, allocations: 0.5324 MB / 1.375 GB, free: 1.965 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/1.091, allocations: 1.408 MB / 1.376 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.091, allocations: 0 / 1.376 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.372e-06/1.091, allocations: 0 / 1.376 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.091, allocations: 4 kB / 1.376 GB, free: 0.5508 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.002023/1.093, allocations: 1.4 MB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.093, allocations: 8.031 kB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007767/1.094, allocations: 186.5 kB / 1.378 GB, free: 14.9 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/1.095, allocations: 0.8451 MB / 1.378 GB, free: 14.02 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/1.095, allocations: 41 kB / 1.379 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/1.095, allocations: 59.94 kB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/1.096, allocations: 0.6823 MB / 1.379 GB, free: 13.22 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.096, allocations: 4 kB / 1.379 GB, free: 13.22 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/1.096, allocations: 20 kB / 1.379 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.096, allocations: 15.94 kB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/1.097, allocations: 0.519 MB / 1.38 GB, free: 12.66 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.0033/1.101, allocations: 3.249 MB / 1.383 GB, free: 9.047 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/1.101, allocations: 390.2 kB / 1.383 GB, free: 8.656 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/1.101, allocations: 240.7 kB / 1.384 GB, free: 8.418 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/1.102, allocations: 194.2 kB / 1.384 GB, free: 8.191 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.102, allocations: 30.56 kB / 1.384 GB, free: 8.152 MB / 1.107 GB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/1.102, allocations: 4 kB / 1.384 GB, free: 8.148 MB / 1.107 GB Notification: Performance of matching and sorting (n=28): time 0.004824/1.107, allocations: 1.485 MB / 1.385 GB, free: 6.633 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.107, allocations: 55.41 kB / 1.385 GB, free: 6.566 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.108, allocations: 1.069 MB / 1.386 GB, free: 5.477 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.108, allocations: 33.7 kB / 1.386 GB, free: 5.438 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/1.108, allocations: 440.5 kB / 1.387 GB, free: 5.004 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/1.108, allocations: 94.59 kB / 1.387 GB, free: 4.91 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.109, allocations: 81.59 kB / 1.387 GB, free: 4.824 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.109, allocations: 317.9 kB / 1.387 GB, free: 4.508 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/1.109, allocations: 168.6 kB / 1.387 GB, free: 4.34 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/1.109, allocations: 356.6 kB / 1.388 GB, free: 3.918 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/1.11, allocations: 390.9 kB / 1.388 GB, free: 3.527 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.11, allocations: 0 / 1.388 GB, free: 3.527 MB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001968/1.112, allocations: 0.8034 MB / 1.389 GB, free: 2.715 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.112, allocations: 4.328 kB / 1.389 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.112, allocations: 4.094 kB / 1.389 GB, free: 2.707 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/1.114, allocations: 366.1 kB / 1.389 GB, free: 2.348 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/1.114, allocations: 23.92 kB / 1.389 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/1.115, allocations: 1.005 MB / 1.39 GB, free: 1.293 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/1.115, allocations: 47.69 kB / 1.39 GB, free: 1.246 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/1.115, allocations: 15.98 kB / 1.39 GB, free: 1.23 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005725/1.116, allocations: 447.8 kB / 1.391 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003712/1.116, allocations: 320.5 kB / 1.391 GB, free: 412 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004574/1.117, allocations: 305.6 kB / 1.391 GB, free: 96 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/1.117, allocations: 0 / 1.391 GB, free: 96 kB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001112/1.118, allocations: 0.5983 MB / 1.392 GB, free: 15.48 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/1.118, allocations: 4 kB / 1.392 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/1.118, allocations: 0 / 1.392 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/1.119, allocations: 207 kB / 1.392 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.119, allocations: 27.92 kB / 1.392 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003779/1.122, allocations: 3.293 MB / 1.395 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/1.123, allocations: 40.31 kB / 1.395 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/1.123, allocations: 12.06 kB / 1.395 GB, free: 11.75 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.0001816/1.123, allocations: 200.2 kB / 1.396 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/1.123, allocations: 102.7 kB / 1.396 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/1.125, allocations: 0.706 MB / 1.396 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.125, allocations: 0 / 1.396 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/1.125, allocations: 0 / 1.396 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.125, allocations: 4.094 kB / 1.396 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.127, allocations: 1.513 MB / 1.398 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.127, allocations: 0 / 1.398 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/1.127, allocations: 23.92 kB / 1.398 GB, free: 9.113 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/1.127, allocations: 228.8 kB / 1.398 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.127, allocations: 4 kB / 1.398 GB, free: 8.883 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008676/1.128, allocations: 0.9775 MB / 1.399 GB, free: 7.879 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/1.128, allocations: 11.97 kB / 1.399 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/1.129, allocations: 0.7911 MB / 1.4 GB, free: 7.035 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/1.13, allocations: 211.9 kB / 1.4 GB, free: 6.809 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-05/1.13, allocations: 3.984 kB / 1.4 GB, free: 6.805 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/1.13, allocations: 23.98 kB / 1.4 GB, free: 6.781 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/1.13, allocations: 23.91 kB / 1.4 GB, free: 6.758 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/1.13, allocations: 12 kB / 1.4 GB, free: 6.746 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009155/1.131, allocations: 0.7747 MB / 1.401 GB, free: 5.961 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.131, allocations: 3.938 kB / 1.401 GB, free: 5.957 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009741/1.132, allocations: 399.3 kB / 1.401 GB, free: 5.566 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.0003704/1.133, allocations: 168.6 kB / 1.401 GB, free: 5.402 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00141/1.134, allocations: 0.7688 MB / 1.402 GB, free: 4.621 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.134, allocations: 4 kB / 1.402 GB, free: 4.617 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/1.135, allocations: 206.5 kB / 1.402 GB, free: 4.414 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/1.137, allocations: 488.1 kB / 1.403 GB, free: 3.938 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/1.139, allocations: 1.677 MB / 1.404 GB, free: 2.211 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/1.139, allocations: 1.184 MB / 1.406 GB, free: 1 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004816/1.14, allocations: 207.3 kB / 1.406 GB, free: 0.793 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/1.14, allocations: 51.44 kB / 1.406 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/1.14, allocations: 0 / 1.406 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of Templates: time 0.03312/1.173, allocations: 19.86 MB / 1.425 GB, free: 13.12 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/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