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.001691/0.001692, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002253/0.002253, allocations: 192.9 kB / 16.14 MB, free: 6.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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.428/2.428, allocations: 390.2 MB / 0.6642 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.91 kB / 0.8118 GB, free: 14.94 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8601/0.8618, allocations: 140.4 MB / 0.9489 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.2098/1.072, allocations: 159.3 MB / 1.104 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003001/1.075, allocations: 1.729 MB / 1.106 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/1.075, allocations: 11.88 kB / 1.106 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005595/1.076, allocations: 135.2 kB / 1.106 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/1.077, allocations: 0.4936 MB / 1.107 GB, free: 52 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/1.078, allocations: 374.4 kB / 1.107 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002993/1.081, allocations: 3.41 MB / 1.11 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009874/1.082, allocations: 0.7586 MB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/1.083, allocations: 0.8168 MB / 1.112 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007937/1.084, allocations: 0.7272 MB / 1.113 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/1.084, allocations: 40 kB / 1.113 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/1.086, allocations: 0.8107 MB / 1.114 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/1.086, allocations: 282.9 kB / 1.114 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005855/1.087, allocations: 0.5128 MB / 1.114 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/1.088, allocations: 1.39 MB / 1.116 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.088, allocations: 0 / 1.116 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.81e-07/1.088, allocations: 0 / 1.116 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.088, allocations: 0 / 1.116 GB, free: 6.906 MB / 0.8731 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.002168/1.091, allocations: 1.408 MB / 1.117 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.091, allocations: 8.031 kB / 1.117 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007856/1.091, allocations: 182.5 kB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/1.093, allocations: 0.7943 MB / 1.118 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/1.093, allocations: 41 kB / 1.118 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/1.093, allocations: 64 kB / 1.118 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.094, allocations: 0.6861 MB / 1.119 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.094, allocations: 3.938 kB / 1.119 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/1.094, allocations: 23.98 kB / 1.119 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/1.094, allocations: 15.94 kB / 1.119 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.095, allocations: 0.523 MB / 1.119 GB, free: 3.047 MB / 0.8731 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.003456/1.099, allocations: 3.229 MB / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/1.099, allocations: 388.5 kB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/1.1, allocations: 244.9 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/1.1, allocations: 190.2 kB / 1.123 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.1, allocations: 38.56 kB / 1.123 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 1.694e-06/1.1, allocations: 0 / 1.123 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.004982/1.105, allocations: 1.489 MB / 1.125 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.105, allocations: 55.41 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.106, allocations: 1.069 MB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/1.106, allocations: 34.03 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/1.107, allocations: 452.3 kB / 1.126 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.107, allocations: 94.59 kB / 1.126 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/1.107, allocations: 65.7 kB / 1.126 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.107, allocations: 318 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/1.107, allocations: 164.7 kB / 1.127 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/1.108, allocations: 361.3 kB / 1.127 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/1.109, allocations: 388.6 kB / 1.128 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.109, allocations: 0 / 1.128 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002006/1.111, allocations: 0.8172 MB / 1.128 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.111, allocations: 8 kB / 1.128 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.111, allocations: 4 kB / 1.128 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/1.112, allocations: 353.4 kB / 1.129 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/1.112, allocations: 19.98 kB / 1.129 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/1.113, allocations: 1.007 MB / 1.13 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/1.114, allocations: 79.73 kB / 1.13 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/1.114, allocations: 12 kB / 1.13 GB, free: 7.602 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006798/1.115, allocations: 453.7 kB / 1.13 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004073/1.115, allocations: 312.4 kB / 1.131 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004927/1.116, allocations: 311.1 kB / 1.131 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/1.116, allocations: 0 / 1.131 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001242/1.117, allocations: 0.5905 MB / 1.131 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.117, allocations: 7.984 kB / 1.131 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.117, allocations: 4 kB / 1.131 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/1.118, allocations: 200.6 kB / 1.132 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.118, allocations: 23.92 kB / 1.132 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.121, allocations: 3.03 MB / 1.135 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/1.122, allocations: 80.25 kB / 1.135 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/1.122, allocations: 8 kB / 1.135 GB, free: 2.371 MB / 0.8887 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.0001823/1.122, allocations: 208 kB / 1.135 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/1.123, allocations: 94.81 kB / 1.135 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/1.124, allocations: 0.7059 MB / 1.136 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.124, allocations: 4 kB / 1.136 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/1.124, allocations: 0 / 1.136 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.124, allocations: 0 / 1.136 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/1.126, allocations: 1.503 MB / 1.137 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.126, allocations: 0 / 1.137 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/1.126, allocations: 27.86 kB / 1.137 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/1.127, allocations: 236.7 kB / 1.137 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/1.127, allocations: 7.984 kB / 1.137 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008711/1.128, allocations: 0.9754 MB / 1.138 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.128, allocations: 7.922 kB / 1.138 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.129, allocations: 0.7971 MB / 1.139 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/1.129, allocations: 215.9 kB / 1.139 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/1.129, allocations: 4 kB / 1.139 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/1.13, allocations: 47.89 kB / 1.139 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/1.13, allocations: 31.91 kB / 1.139 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/1.13, allocations: 12 kB / 1.139 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001031/1.131, allocations: 0.7669 MB / 1.14 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.131, allocations: 0 / 1.14 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001105/1.132, allocations: 403.3 kB / 1.141 GB, free: 12.15 MB / 0.9044 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.0004475/1.132, allocations: 170.2 kB / 1.141 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.134, allocations: 0.7496 MB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.134, allocations: 0 / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/1.134, allocations: 208.8 kB / 1.142 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/1.136, allocations: 482.3 kB / 1.142 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/1.139, allocations: 1.988 MB / 1.144 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000879/1.14, allocations: 1.184 MB / 1.145 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00069/1.141, allocations: 207.3 kB / 1.145 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.141, allocations: 51.44 kB / 1.146 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of SimCode: time 1.513e-06/1.141, allocations: 0 / 1.146 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of Templates: time 0.03212/1.173, allocations: 19.08 MB / 1.164 GB, free: 4.176 MB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches