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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002114/0.002114, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.002191/0.002191, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 469.4 MB / 0.7423 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.67 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3281, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.7361/1.064, allocations: 159.3 MB / 1.219 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003067/1.067, allocations: 1.696 MB / 1.221 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/1.068, allocations: 8.188 kB / 1.221 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006413/1.069, allocations: 136.5 kB / 1.221 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/1.07, allocations: 494.4 kB / 1.222 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/1.071, allocations: 389.7 kB / 1.222 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002618/1.074, allocations: 2.471 MB / 1.224 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/1.075, allocations: 0.8944 MB / 1.225 GB, free: 3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/1.077, allocations: 0.9576 MB / 1.226 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/1.078, allocations: 0.7557 MB / 1.227 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/1.078, allocations: 59.38 kB / 1.227 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/1.08, allocations: 0.7523 MB / 1.228 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/1.08, allocations: 314.9 kB / 1.228 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007551/1.081, allocations: 0.5323 MB / 1.229 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/1.082, allocations: 1.053 MB / 1.23 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.082, allocations: 4 kB / 1.23 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.293e-06/1.082, allocations: 0 / 1.23 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.833e-05/1.082, allocations: 0 / 1.23 GB, free: 15.74 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.002192/1.085, allocations: 1.405 MB / 1.231 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.085, allocations: 8.031 kB / 1.231 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008146/1.086, allocations: 178.5 kB / 1.231 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.087, allocations: 0.802 MB / 1.232 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/1.087, allocations: 45 kB / 1.232 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/1.087, allocations: 56 kB / 1.232 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.088, allocations: 0.6822 MB / 1.233 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.088, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/1.088, allocations: 20 kB / 1.233 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.088, allocations: 12 kB / 1.233 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/1.089, allocations: 0.5191 MB / 1.233 GB, free: 11.92 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.003467/1.092, allocations: 3.241 MB / 1.236 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/1.093, allocations: 402.6 kB / 1.237 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/1.093, allocations: 236.7 kB / 1.237 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/1.094, allocations: 194.2 kB / 1.237 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.094, allocations: 34.56 kB / 1.237 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/1.094, allocations: 0 / 1.237 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.005056/1.099, allocations: 1.495 MB / 1.239 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.099, allocations: 55.41 kB / 1.239 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/1.1, allocations: 1.065 MB / 1.24 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/1.101, allocations: 33.7 kB / 1.24 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/1.101, allocations: 448.3 kB / 1.24 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.897e-05/1.101, allocations: 102.5 kB / 1.24 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.101, allocations: 69.61 kB / 1.24 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.101, allocations: 325.9 kB / 1.241 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/1.102, allocations: 160.7 kB / 1.241 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/1.102, allocations: 352.4 kB / 1.241 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/1.103, allocations: 387.1 kB / 1.242 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.103, allocations: 0 / 1.242 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002106/1.105, allocations: 0.8049 MB / 1.242 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.105, allocations: 8.328 kB / 1.242 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.105, allocations: 4 kB / 1.242 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/1.106, allocations: 357.9 kB / 1.243 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/1.106, allocations: 23.92 kB / 1.243 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/1.108, allocations: 1.012 MB / 1.244 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/1.108, allocations: 71.78 kB / 1.244 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/1.108, allocations: 15.92 kB / 1.244 GB, free: 460 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000727/1.109, allocations: 455.8 kB / 1.244 GB, free: 0 / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004196/1.109, allocations: 306 kB / 1.244 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004822/1.11, allocations: 307.5 kB / 1.245 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/1.11, allocations: 0 / 1.245 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001366/1.111, allocations: 0.5985 MB / 1.245 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.111, allocations: 5.875 kB / 1.245 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/1.111, allocations: 0 / 1.245 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/1.112, allocations: 202.4 kB / 1.246 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.112, allocations: 23.97 kB / 1.246 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/1.116, allocations: 3.308 MB / 1.249 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/1.117, allocations: 64.36 kB / 1.249 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/1.117, allocations: 11.98 kB / 1.249 GB, free: 10.95 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.0001818/1.117, allocations: 196.2 kB / 1.249 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/1.117, allocations: 98.78 kB / 1.249 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.119, allocations: 0.7122 MB / 1.25 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.119, allocations: 8 kB / 1.25 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/1.119, allocations: 0 / 1.25 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.119, allocations: 0 / 1.25 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/1.121, allocations: 1.513 MB / 1.251 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.121, allocations: 0 / 1.251 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/1.121, allocations: 23.98 kB / 1.251 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/1.122, allocations: 222.5 kB / 1.252 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/1.122, allocations: 8 kB / 1.252 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009023/1.123, allocations: 0.9815 MB / 1.253 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.123, allocations: 7.969 kB / 1.253 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/1.124, allocations: 0.7963 MB / 1.253 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/1.124, allocations: 203.9 kB / 1.254 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.124, allocations: 15.92 kB / 1.254 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/1.125, allocations: 55.8 kB / 1.254 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/1.125, allocations: 20.47 kB / 1.254 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/1.125, allocations: 11.94 kB / 1.254 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001043/1.126, allocations: 0.7708 MB / 1.254 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.126, allocations: 7.875 kB / 1.254 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001201/1.127, allocations: 403.4 kB / 1.255 GB, free: 4.727 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.0004691/1.128, allocations: 171.2 kB / 1.255 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001578/1.129, allocations: 0.7579 MB / 1.256 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.129, allocations: 0 / 1.256 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004316/1.13, allocations: 219 kB / 1.256 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/1.132, allocations: 483.4 kB / 1.256 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/1.135, allocations: 2.041 MB / 1.258 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/1.136, allocations: 1.18 MB / 1.26 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/1.136, allocations: 51.44 kB / 1.26 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of SimCode: time 1.452e-06/1.136, allocations: 0 / 1.26 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.03125/1.168, allocations: 19.87 MB / 1.279 GB, free: 11.97 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches