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.009124/0.009125, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001747/0.001747, allocations: 194.9 kB / 16.67 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7453 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.89 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3421, allocations: 159.9 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.851/1.193, allocations: 161.5 MB / 1.383 GB, free: 1.207 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002979/1.196, allocations: 1.712 MB / 1.385 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/1.197, allocations: 10.81 kB / 1.385 GB, free: 15.92 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/1.197, allocations: 159.7 kB / 1.385 GB, free: 15.79 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/1.199, allocations: 0.5144 MB / 1.386 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/1.2, allocations: 430.3 kB / 1.386 GB, free: 15.1 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002526/1.202, allocations: 2.46 MB / 1.388 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/1.204, allocations: 0.9257 MB / 1.389 GB, free: 13.22 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/1.205, allocations: 0.9356 MB / 1.39 GB, free: 12.71 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009303/1.206, allocations: 0.7109 MB / 1.391 GB, free: 12.31 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/1.207, allocations: 56.44 kB / 1.391 GB, free: 12.31 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/1.208, allocations: 0.7459 MB / 1.392 GB, free: 11.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/1.208, allocations: 307.1 kB / 1.392 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006503/1.209, allocations: 0.5357 MB / 1.393 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/1.211, allocations: 1.415 MB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.211, allocations: 4 kB / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.202e-06/1.211, allocations: 0 / 1.394 GB, free: 10.54 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.588e-05/1.211, allocations: 7.922 kB / 1.394 GB, free: 10.53 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.002245/1.213, allocations: 1.426 MB / 1.395 GB, free: 9.434 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/1.213, allocations: 13.84 kB / 1.395 GB, free: 9.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/1.214, allocations: 190.7 kB / 1.396 GB, free: 9.336 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.215, allocations: 0.8639 MB / 1.396 GB, free: 8.711 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/1.215, allocations: 41.94 kB / 1.396 GB, free: 8.691 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/1.216, allocations: 55.47 kB / 1.397 GB, free: 8.676 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.217, allocations: 0.6926 MB / 1.397 GB, free: 8.27 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.217, allocations: 1.281 kB / 1.397 GB, free: 8.27 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/1.217, allocations: 20.38 kB / 1.397 GB, free: 8.254 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/1.217, allocations: 11.69 kB / 1.397 GB, free: 8.254 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/1.218, allocations: 0.5145 MB / 1.398 GB, free: 8.012 MB / 1.092 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.003767/1.222, allocations: 3.252 MB / 1.401 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/1.222, allocations: 386.1 kB / 1.401 GB, free: 4.867 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/1.223, allocations: 242.8 kB / 1.401 GB, free: 4.75 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/1.223, allocations: 194.9 kB / 1.402 GB, free: 4.547 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.223, allocations: 35.94 kB / 1.402 GB, free: 4.504 MB / 1.092 GB Notification: Performance of pre-optimization done (n=28): time 1.923e-06/1.223, allocations: 3.938 kB / 1.402 GB, free: 4.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=28): time 0.004828/1.228, allocations: 1.486 MB / 1.403 GB, free: 3.664 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.228, allocations: 58.42 kB / 1.403 GB, free: 3.598 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.23, allocations: 1.065 MB / 1.404 GB, free: 3.031 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/1.23, allocations: 33.73 kB / 1.404 GB, free: 2.996 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/1.23, allocations: 452.7 kB / 1.405 GB, free: 2.613 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.23, allocations: 99.59 kB / 1.405 GB, free: 2.527 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.23, allocations: 71.72 kB / 1.405 GB, free: 2.484 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.23, allocations: 323 kB / 1.405 GB, free: 2.168 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/1.231, allocations: 163.8 kB / 1.405 GB, free: 2.082 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/1.231, allocations: 361 kB / 1.406 GB, free: 1.773 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/1.232, allocations: 392.2 kB / 1.406 GB, free: 1.562 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.232, allocations: 0 / 1.406 GB, free: 1.562 MB / 1.092 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001987/1.234, allocations: 0.813 MB / 1.407 GB, free: 1.113 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.234, allocations: 5.375 kB / 1.407 GB, free: 1.113 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.234, allocations: 1.812 kB / 1.407 GB, free: 1.113 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/1.235, allocations: 348.7 kB / 1.407 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/1.235, allocations: 30.27 kB / 1.407 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/1.236, allocations: 1.004 MB / 1.408 GB, free: 168 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/1.237, allocations: 54.95 kB / 1.408 GB, free: 132 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/1.237, allocations: 17.17 kB / 1.408 GB, free: 124 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006918/1.238, allocations: 452.8 kB / 1.409 GB, free: 15.86 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003946/1.238, allocations: 313.8 kB / 1.409 GB, free: 15.57 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000505/1.239, allocations: 304.8 kB / 1.409 GB, free: 15.41 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/1.239, allocations: 4 kB / 1.409 GB, free: 15.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001599/1.24, allocations: 0.5983 MB / 1.41 GB, free: 15.08 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.241, allocations: 10.48 kB / 1.41 GB, free: 15.07 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/1.241, allocations: 0 / 1.41 GB, free: 15.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/1.241, allocations: 203.8 kB / 1.41 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/1.241, allocations: 19.98 kB / 1.41 GB, free: 14.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/1.245, allocations: 3.293 MB / 1.413 GB, free: 12.36 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/1.246, allocations: 54.45 kB / 1.413 GB, free: 12.33 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/1.246, allocations: 7.781 kB / 1.413 GB, free: 12.33 MB / 1.107 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.000174/1.246, allocations: 207.7 kB / 1.414 GB, free: 12.13 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/1.247, allocations: 105.1 kB / 1.414 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/1.248, allocations: 0.7042 MB / 1.414 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.248, allocations: 6.656 kB / 1.414 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.248, allocations: 3.188 kB / 1.414 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.248, allocations: 2.562 kB / 1.414 GB, free: 11.66 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.25, allocations: 1.511 MB / 1.416 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.25, allocations: 0 / 1.416 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.25, allocations: 23.92 kB / 1.416 GB, free: 10.52 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/1.251, allocations: 216.8 kB / 1.416 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.251, allocations: 8 kB / 1.416 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008787/1.252, allocations: 0.987 MB / 1.417 GB, free: 9.281 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.252, allocations: 0 / 1.417 GB, free: 9.281 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.253, allocations: 0.8053 MB / 1.418 GB, free: 8.438 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/1.253, allocations: 220.3 kB / 1.418 GB, free: 8.203 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/1.253, allocations: 12 kB / 1.418 GB, free: 8.191 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/1.254, allocations: 15.98 kB / 1.418 GB, free: 8.176 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/1.254, allocations: 23.91 kB / 1.418 GB, free: 8.152 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/1.254, allocations: 8 kB / 1.418 GB, free: 8.145 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009259/1.255, allocations: 0.7747 MB / 1.419 GB, free: 7.359 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.255, allocations: 0 / 1.419 GB, free: 7.359 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001054/1.256, allocations: 403.4 kB / 1.419 GB, free: 6.965 MB / 1.107 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.0003821/1.256, allocations: 177.2 kB / 1.419 GB, free: 6.793 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001462/1.258, allocations: 0.7576 MB / 1.42 GB, free: 6.023 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.258, allocations: 0 / 1.42 GB, free: 6.023 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/1.258, allocations: 212.6 kB / 1.42 GB, free: 5.816 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.26, allocations: 488 kB / 1.421 GB, free: 5.352 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/1.262, allocations: 1.718 MB / 1.423 GB, free: 3.578 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/1.263, allocations: 1.18 MB / 1.424 GB, free: 2.371 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005475/1.264, allocations: 211.2 kB / 1.424 GB, free: 2.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.264, allocations: 55.42 kB / 1.424 GB, free: 2.105 MB / 1.107 GB Notification: Performance of SimCode: time 4.4e-07/1.264, allocations: 0 / 1.424 GB, free: 2.105 MB / 1.107 GB Notification: Performance of Templates: time 0.03162/1.295, allocations: 19.85 MB / 1.443 GB, free: 14.48 MB / 1.139 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