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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.515/2.515, allocations: 390.2 MB / 0.6647 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8423/0.8436, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.2079/1.052, allocations: 161.5 MB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00359/1.055, allocations: 1.71 MB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/1.056, allocations: 7.938 kB / 1.109 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007464/1.056, allocations: 166.9 kB / 1.109 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/1.058, allocations: 0.5056 MB / 1.11 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/1.06, allocations: 423.1 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002496/1.062, allocations: 2.459 MB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/1.064, allocations: 0.9216 MB / 1.113 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/1.065, allocations: 0.9225 MB / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/1.066, allocations: 0.7156 MB / 1.115 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/1.066, allocations: 56 kB / 1.115 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/1.068, allocations: 0.7484 MB / 1.116 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/1.068, allocations: 306.9 kB / 1.116 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007236/1.069, allocations: 0.5363 MB / 1.117 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/1.071, allocations: 1.39 MB / 1.118 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.071, allocations: 3.938 kB / 1.118 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.433e-06/1.071, allocations: 0 / 1.118 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.071, allocations: 0 / 1.118 GB, free: 4.824 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.002207/1.073, allocations: 1.396 MB / 1.119 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.073, allocations: 8.031 kB / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008042/1.074, allocations: 190.5 kB / 1.119 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/1.075, allocations: 0.7982 MB / 1.12 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/1.075, allocations: 41 kB / 1.12 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/1.075, allocations: 60 kB / 1.12 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/1.076, allocations: 0.6822 MB / 1.121 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.076, allocations: 3.938 kB / 1.121 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/1.077, allocations: 24 kB / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/1.077, allocations: 12 kB / 1.121 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/1.077, allocations: 0.5152 MB / 1.122 GB, free: 0.9883 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.003751/1.081, allocations: 3.264 MB / 1.125 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/1.082, allocations: 390.9 kB / 1.125 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/1.082, allocations: 237.2 kB / 1.125 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003344/1.083, allocations: 194.2 kB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.083, allocations: 34.55 kB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/1.083, allocations: 7.875 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.005044/1.088, allocations: 1.489 MB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/1.088, allocations: 59.41 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/1.089, allocations: 1.069 MB / 1.128 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/1.089, allocations: 33.7 kB / 1.128 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/1.09, allocations: 444.4 kB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.09, allocations: 98.58 kB / 1.129 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.09, allocations: 73.69 kB / 1.129 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.09, allocations: 310 kB / 1.129 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/1.09, allocations: 172.6 kB / 1.129 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/1.091, allocations: 352.4 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/1.091, allocations: 381 kB / 1.13 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.091, allocations: 0 / 1.13 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002103/1.093, allocations: 0.8173 MB / 1.131 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.094, allocations: 4 kB / 1.131 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.094, allocations: 4 kB / 1.131 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/1.095, allocations: 364.4 kB / 1.131 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/1.095, allocations: 15.98 kB / 1.131 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/1.096, allocations: 1.005 MB / 1.132 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/1.097, allocations: 47.81 kB / 1.132 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/1.097, allocations: 15.94 kB / 1.132 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007146/1.098, allocations: 457.7 kB / 1.133 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003931/1.098, allocations: 309.9 kB / 1.133 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004631/1.098, allocations: 307.5 kB / 1.133 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/1.098, allocations: 0 / 1.133 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001184/1.1, allocations: 0.606 MB / 1.134 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.1, allocations: 5.719 kB / 1.134 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/1.1, allocations: 0 / 1.134 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/1.1, allocations: 214.5 kB / 1.134 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/1.1, allocations: 19.98 kB / 1.134 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/1.105, allocations: 3.291 MB / 1.137 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/1.105, allocations: 44.23 kB / 1.137 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/1.105, allocations: 7.984 kB / 1.137 GB, free: 56 kB / 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.0002227/1.105, allocations: 208.1 kB / 1.137 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.106, allocations: 98.88 kB / 1.138 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.107, allocations: 0.7141 MB / 1.138 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/1.107, allocations: 0 / 1.138 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.107, allocations: 0 / 1.138 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.107, allocations: 7.938 kB / 1.138 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/1.109, allocations: 1.512 MB / 1.14 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.109, allocations: 0 / 1.14 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/1.109, allocations: 19.98 kB / 1.14 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/1.11, allocations: 218.9 kB / 1.14 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/1.11, allocations: 8 kB / 1.14 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/1.111, allocations: 0.9815 MB / 1.141 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.111, allocations: 4.031 kB / 1.141 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.112, allocations: 0.8017 MB / 1.142 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/1.113, allocations: 211.9 kB / 1.142 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/1.113, allocations: 8 kB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/1.113, allocations: 15.97 kB / 1.142 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/1.113, allocations: 23.91 kB / 1.142 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/1.113, allocations: 20 kB / 1.142 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001062/1.114, allocations: 0.7669 MB / 1.143 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.71e-07/1.114, allocations: 3.938 kB / 1.143 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001146/1.115, allocations: 399.4 kB / 1.143 GB, free: 9.859 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.0004546/1.116, allocations: 176.9 kB / 1.143 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.117, allocations: 0.7573 MB / 1.144 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.117, allocations: 0 / 1.144 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/1.118, allocations: 217.4 kB / 1.144 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.12, allocations: 485.9 kB / 1.145 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/1.122, allocations: 1.707 MB / 1.146 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/1.123, allocations: 1.18 MB / 1.147 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00064/1.124, allocations: 207.3 kB / 1.148 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/1.124, allocations: 51.44 kB / 1.148 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of SimCode: time 8.71e-07/1.124, allocations: 0 / 1.148 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of Templates: time 0.03771/1.162, allocations: 19.75 MB / 1.167 GB, free: 1.504 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