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.001614/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001764/0.001764, allocations: 191.1 kB / 16.13 MB, free: 6.645 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 62.3 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3191, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1727/0.4918, allocations: 159.3 MB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003083/0.4949, allocations: 1.726 MB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.4952, allocations: 7.938 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.4958, allocations: 135.2 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.4972, allocations: 498 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.4982, allocations: 382.1 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003116/0.5014, allocations: 3.402 MB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009976/0.5024, allocations: 0.7547 MB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.5038, allocations: 0.8246 MB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008319/0.5046, allocations: 0.7234 MB / 1.231 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.275e-05/0.5047, allocations: 40 kB / 1.231 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.5062, allocations: 0.8068 MB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.5065, allocations: 290.9 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005966/0.5071, allocations: 0.5167 MB / 1.233 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.5089, allocations: 1.386 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.5089, allocations: 7.938 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5089, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.509, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9981 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.002255/0.5112, allocations: 1.396 MB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5113, allocations: 8.031 kB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.5121, allocations: 178.5 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.5132, allocations: 0.802 MB / 1.237 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.5133, allocations: 41 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.5133, allocations: 56 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.5145, allocations: 0.6939 MB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5145, allocations: 0 / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.5146, allocations: 23.98 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.5146, allocations: 12 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.5155, allocations: 0.5152 MB / 1.238 GB, free: 11.64 MB / 0.9981 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.003505/0.5191, allocations: 3.237 MB / 1.241 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.5197, allocations: 394.4 kB / 1.241 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.5201, allocations: 238.4 kB / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.5204, allocations: 194.2 kB / 1.242 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5205, allocations: 38.89 kB / 1.242 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.5205, allocations: 0 / 1.242 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.005243/0.5257, allocations: 1.477 MB / 1.243 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.5258, allocations: 67.33 kB / 1.243 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.5272, allocations: 1.065 MB / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.5273, allocations: 37.7 kB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.5276, allocations: 452.2 kB / 1.245 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.5277, allocations: 98.58 kB / 1.245 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.5279, allocations: 69.61 kB / 1.245 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.528, allocations: 318 kB / 1.245 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.5283, allocations: 164.7 kB / 1.246 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.5288, allocations: 359.8 kB / 1.246 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.5294, allocations: 390.3 kB / 1.246 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5295, allocations: 4 kB / 1.246 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002064/0.5315, allocations: 0.8049 MB / 1.247 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5316, allocations: 4 kB / 1.247 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5316, allocations: 0 / 1.247 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.5332, allocations: 374 kB / 1.247 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.5334, allocations: 19.98 kB / 1.247 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.5344, allocations: 1.008 MB / 1.248 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.535, allocations: 71.69 kB / 1.249 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.5351, allocations: 23.98 kB / 1.249 GB, free: 172 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.5269/1.062, allocations: 447 kB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000426/1.062, allocations: 304.6 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005431/1.063, allocations: 309.3 kB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/1.063, allocations: 0 / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001495/1.065, allocations: 0.5956 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.065, allocations: 7.422 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.065, allocations: 0.8438 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/1.065, allocations: 201.8 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.065, allocations: 20.95 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/1.069, allocations: 3.033 MB / 1.253 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/1.07, allocations: 70.77 kB / 1.253 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/1.07, allocations: 13.09 kB / 1.253 GB, free: 183.9 MB / 0.9981 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.0001285/1.07, allocations: 194.2 kB / 1.254 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/1.07, allocations: 98.09 kB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.072, allocations: 0.705 MB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.072, allocations: 11.22 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/1.072, allocations: 0 / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/1.072, allocations: 2.438 kB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/1.074, allocations: 1.51 MB / 1.256 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.074, allocations: 5.562 kB / 1.256 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.074, allocations: 19.16 kB / 1.256 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.075, allocations: 221.4 kB / 1.256 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/1.075, allocations: 10.44 kB / 1.256 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007408/1.075, allocations: 0.9719 MB / 1.257 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.075, allocations: 13.19 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.077, allocations: 0.796 MB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/1.077, allocations: 219 kB / 1.258 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.077, allocations: 12.75 kB / 1.258 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/1.077, allocations: 48.53 kB / 1.258 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/1.078, allocations: 28.86 kB / 1.258 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.078, allocations: 8.25 kB / 1.258 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000933/1.078, allocations: 0.7682 MB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.079, allocations: 3.219 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001031/1.08, allocations: 406.4 kB / 1.259 GB, free: 182.1 MB / 0.9981 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.0003681/1.08, allocations: 167.8 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.081, allocations: 0.7514 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.081, allocations: 5.875 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/1.082, allocations: 211 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/1.084, allocations: 488.1 kB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/1.086, allocations: 1.981 MB / 1.263 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.087, allocations: 1.176 MB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007326/1.088, allocations: 208.2 kB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.088, allocations: 52.5 kB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.088, allocations: 4 kB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03336/1.121, allocations: 19.08 MB / 1.283 GB, free: 174.3 MB / 0.9981 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