Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001268/0.001268, allocations: 111 kB / 15.99 MB, free: 6.344 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.001273/0.001273, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.59/2.59, allocations: 469.8 MB / 0.7427 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 69.08 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3158, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.614/0.9298, allocations: 159.3 MB / 1.22 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003191/0.9331, allocations: 1.703 MB / 1.221 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.9335, allocations: 13.38 kB / 1.221 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.9341, allocations: 137.3 kB / 1.222 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.9353, allocations: 493.9 kB / 1.222 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.9365, allocations: 393.8 kB / 1.222 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002518/0.939, allocations: 2.468 MB / 1.225 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.9401, allocations: 0.8958 MB / 1.226 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.9415, allocations: 0.9489 MB / 1.227 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008167/0.9423, allocations: 0.7501 MB / 1.227 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.9424, allocations: 64.69 kB / 1.227 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.9438, allocations: 0.7541 MB / 1.228 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.9442, allocations: 314.9 kB / 1.228 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006936/0.9449, allocations: 0.5363 MB / 1.229 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.9462, allocations: 1.045 MB / 1.23 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9463, allocations: 0 / 1.23 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9463, allocations: 0 / 1.23 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.9463, allocations: 0 / 1.23 GB, free: 15.31 MB / 0.9512 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.002123/0.9484, allocations: 1.405 MB / 1.231 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.9485, allocations: 12.62 kB / 1.231 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.9492, allocations: 182.5 kB / 1.232 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.9504, allocations: 0.7992 MB / 1.232 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.9504, allocations: 49 kB / 1.232 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.9505, allocations: 56 kB / 1.232 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.9517, allocations: 0.6862 MB / 1.233 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.9517, allocations: 0 / 1.233 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.9518, allocations: 16 kB / 1.233 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.9518, allocations: 12 kB / 1.233 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.9527, allocations: 0.5269 MB / 1.234 GB, free: 11.46 MB / 0.9512 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.003661/0.9563, allocations: 3.241 MB / 1.237 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.957, allocations: 390.7 kB / 1.237 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.9574, allocations: 236.7 kB / 1.237 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.9577, allocations: 194.2 kB / 1.238 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.9577, allocations: 42.55 kB / 1.238 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.9577, allocations: 0 / 1.238 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.005061/0.9628, allocations: 1.488 MB / 1.239 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.9629, allocations: 55.41 kB / 1.239 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.9643, allocations: 1.073 MB / 1.24 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.9643, allocations: 33.7 kB / 1.24 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.9647, allocations: 440.3 kB / 1.241 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.9648, allocations: 94.59 kB / 1.241 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.965, allocations: 77.59 kB / 1.241 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9651, allocations: 321.9 kB / 1.241 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.9654, allocations: 165.6 kB / 1.241 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.9659, allocations: 352.3 kB / 1.242 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.9666, allocations: 388.2 kB / 1.242 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9666, allocations: 0 / 1.242 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002073/0.9687, allocations: 0.8136 MB / 1.243 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9687, allocations: 4 kB / 1.243 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9687, allocations: 4 kB / 1.243 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.9702, allocations: 354.3 kB / 1.243 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.9704, allocations: 27.73 kB / 1.243 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.9715, allocations: 1.015 MB / 1.244 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/0.9721, allocations: 71.75 kB / 1.244 GB, free: 16 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.9722, allocations: 8 kB / 1.244 GB, free: 8 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006822/0.9729, allocations: 452 kB / 1.245 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004342/0.9733, allocations: 319.8 kB / 1.245 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004955/0.9738, allocations: 307.5 kB / 1.245 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.9738, allocations: 0 / 1.245 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001219/0.975, allocations: 0.5965 MB / 1.246 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.9751, allocations: 10.19 kB / 1.246 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.9751, allocations: 0 / 1.246 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/0.9756, allocations: 206.3 kB / 1.246 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.9757, allocations: 15.98 kB / 1.246 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.9798, allocations: 3.306 MB / 1.249 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/0.9805, allocations: 64.31 kB / 1.249 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.9805, allocations: 12 kB / 1.249 GB, free: 10.5 MB / 0.9669 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.0001971/0.9807, allocations: 201.2 kB / 1.249 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9809, allocations: 94.78 kB / 1.25 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.9823, allocations: 0.7064 MB / 1.25 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9823, allocations: 4 kB / 1.25 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.9823, allocations: 4 kB / 1.25 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9823, allocations: 3.984 kB / 1.25 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.9847, allocations: 1.507 MB / 1.252 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9848, allocations: 8.219 kB / 1.252 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.9849, allocations: 19.92 kB / 1.252 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004974/0.9854, allocations: 224.6 kB / 1.252 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.9854, allocations: 11.98 kB / 1.252 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009822/0.9864, allocations: 0.9961 MB / 1.253 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9864, allocations: 3.938 kB / 1.253 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.9876, allocations: 0.786 MB / 1.254 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.9879, allocations: 207.9 kB / 1.254 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.988, allocations: 8 kB / 1.254 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.9884, allocations: 51.8 kB / 1.254 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.9885, allocations: 27.91 kB / 1.254 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.9885, allocations: 13.44 kB / 1.254 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001005/0.9895, allocations: 0.7747 MB / 1.255 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9896, allocations: 0 / 1.255 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001011/0.9906, allocations: 399.4 kB / 1.255 GB, free: 4.285 MB / 0.9669 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.0004317/0.991, allocations: 165.5 kB / 1.255 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.9925, allocations: 0.7672 MB / 1.256 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9925, allocations: 0 / 1.256 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.993, allocations: 215 kB / 1.256 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.995, allocations: 488.1 kB / 1.257 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.9978, allocations: 2.037 MB / 1.259 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/0.9987, allocations: 1.18 MB / 1.26 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.9988, allocations: 55.44 kB / 1.26 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/0.9988, allocations: 0 / 1.26 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of Templates: time 0.02884/1.028, allocations: 19.87 MB / 1.279 GB, free: 11.53 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches