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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001544/0.001544, allocations: 106.6 kB / 16.36 MB, free: 5.824 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.001528/0.001529, allocations: 191 kB / 17.29 MB, free: 5.48 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 62.98 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8147/1.124, allocations: 161.5 MB / 1.109 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004391/1.129, allocations: 1.715 MB / 1.111 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/1.13, allocations: 13.31 kB / 1.111 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000869/1.131, allocations: 164 kB / 1.111 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/1.133, allocations: 0.5126 MB / 1.111 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/1.135, allocations: 415.9 kB / 1.112 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005006/1.14, allocations: 2.464 MB / 1.114 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/1.142, allocations: 0.9289 MB / 1.115 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/1.146, allocations: 0.9328 MB / 1.116 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/1.147, allocations: 0.7084 MB / 1.117 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/1.147, allocations: 57.55 kB / 1.117 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/1.15, allocations: 0.7447 MB / 1.117 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000566/1.15, allocations: 306.9 kB / 1.118 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/1.152, allocations: 0.5368 MB / 1.118 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/1.154, allocations: 1.412 MB / 1.119 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.154, allocations: 5.219 kB / 1.119 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.925e-06/1.154, allocations: 0 / 1.119 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.279e-05/1.154, allocations: 0 / 1.119 GB, free: 4.984 MB / 0.8575 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.003529/1.158, allocations: 1.399 MB / 1.121 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/1.158, allocations: 10.95 kB / 1.121 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/1.159, allocations: 180.9 kB / 1.121 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/1.161, allocations: 0.8493 MB / 1.122 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/1.161, allocations: 46.7 kB / 1.122 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/1.161, allocations: 57.34 kB / 1.122 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/1.163, allocations: 0.6835 MB / 1.123 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.163, allocations: 0 / 1.123 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/1.163, allocations: 19.25 kB / 1.123 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/1.163, allocations: 12.03 kB / 1.123 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/1.164, allocations: 0.5213 MB / 1.123 GB, free: 19.68 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.004996/1.169, allocations: 3.239 MB / 1.126 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/1.17, allocations: 393.5 kB / 1.127 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/1.17, allocations: 241.3 kB / 1.127 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/1.17, allocations: 198.5 kB / 1.127 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.17, allocations: 43.72 kB / 1.127 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 2.414e-06/1.17, allocations: 0 / 1.127 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28): time 0.005384/1.176, allocations: 1.483 MB / 1.129 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.176, allocations: 58.72 kB / 1.129 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/1.178, allocations: 1.069 MB / 1.13 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.178, allocations: 36.83 kB / 1.13 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/1.178, allocations: 438.7 kB / 1.13 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/1.178, allocations: 98.64 kB / 1.13 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.178, allocations: 67.75 kB / 1.13 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.179, allocations: 320.5 kB / 1.131 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/1.179, allocations: 166.2 kB / 1.131 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/1.179, allocations: 360.8 kB / 1.131 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/1.18, allocations: 383.6 kB / 1.132 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.18, allocations: 5.281 kB / 1.132 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002043/1.182, allocations: 0.8049 MB / 1.132 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.182, allocations: 5.406 kB / 1.132 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.182, allocations: 1.219 kB / 1.132 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/1.184, allocations: 364 kB / 1.133 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.184, allocations: 21.86 kB / 1.133 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/1.185, allocations: 1.002 MB / 1.134 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/1.186, allocations: 54.27 kB / 1.134 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/1.186, allocations: 11.42 kB / 1.134 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008089/1.187, allocations: 452 kB / 1.134 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003612/1.187, allocations: 316.7 kB / 1.134 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004563/1.187, allocations: 308.8 kB / 1.135 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/1.187, allocations: 1.094 kB / 1.135 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001292/1.189, allocations: 0.5952 MB / 1.135 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.189, allocations: 8.172 kB / 1.135 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/1.189, allocations: 1.062 kB / 1.135 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/1.189, allocations: 211 kB / 1.136 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/1.189, allocations: 20.27 kB / 1.136 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/1.194, allocations: 3.292 MB / 1.139 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/1.194, allocations: 48.08 kB / 1.139 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/1.194, allocations: 14.2 kB / 1.139 GB, free: 13.24 MB / 0.8731 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.0001987/1.195, allocations: 191.5 kB / 1.139 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/1.195, allocations: 95.34 kB / 1.139 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/1.196, allocations: 0.7142 MB / 1.14 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/1.196, allocations: 9.266 kB / 1.14 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/1.196, allocations: 1.5 kB / 1.14 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.196, allocations: 96 / 1.14 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/1.199, allocations: 1.5 MB / 1.141 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.199, allocations: 6.547 kB / 1.141 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/1.199, allocations: 21 kB / 1.141 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.199, allocations: 225.2 kB / 1.142 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/1.199, allocations: 7.25 kB / 1.142 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009589/1.2, allocations: 0.9845 MB / 1.142 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.2, allocations: 4.688 kB / 1.142 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.202, allocations: 0.7988 MB / 1.143 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/1.202, allocations: 216.5 kB / 1.143 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/1.202, allocations: 6.25 kB / 1.143 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.203, allocations: 19.94 kB / 1.143 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/1.203, allocations: 21.95 kB / 1.144 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/1.203, allocations: 13.53 kB / 1.144 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001242/1.204, allocations: 0.7708 MB / 1.144 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/1.204, allocations: 0 / 1.144 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001427/1.205, allocations: 400.5 kB / 1.145 GB, free: 11.33 MB / 0.8731 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.000498/1.206, allocations: 172.3 kB / 1.145 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.207, allocations: 0.761 MB / 1.146 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.208, allocations: 0 / 1.146 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004175/1.208, allocations: 210.3 kB / 1.146 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/1.21, allocations: 492.2 kB / 1.146 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/1.213, allocations: 1.691 MB / 1.148 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008704/1.214, allocations: 1.178 MB / 1.149 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007454/1.214, allocations: 210 kB / 1.149 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/1.214, allocations: 53.47 kB / 1.149 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of SimCode: time 1.392e-06/1.214, allocations: 0 / 1.149 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of Templates: time 0.03608/1.251, allocations: 19.74 MB / 1.169 GB, free: 2.266 MB / 0.8731 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 -s cvode -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