Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001155/0.001155, allocations: 108 kB / 15.6 MB, free: 132 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.001195/0.001196, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8869, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1821/1.069, allocations: 161.5 MB / 1.175 GB, free: 380 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003369/1.072, allocations: 1.729 MB / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/1.073, allocations: 11.94 kB / 1.177 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006089/1.074, allocations: 154.9 kB / 1.177 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/1.075, allocations: 0.5095 MB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/1.076, allocations: 421.2 kB / 1.178 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002487/1.079, allocations: 2.452 MB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.08, allocations: 0.9255 MB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/1.082, allocations: 0.9303 MB / 1.182 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/1.083, allocations: 0.7078 MB / 1.183 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/1.083, allocations: 56 kB / 1.183 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/1.085, allocations: 0.7406 MB / 1.183 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/1.085, allocations: 314.9 kB / 1.184 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007349/1.086, allocations: 0.5324 MB / 1.184 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/1.088, allocations: 1.386 MB / 1.186 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.088, allocations: 4 kB / 1.186 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/1.088, allocations: 4 kB / 1.186 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.088, allocations: 0 / 1.186 GB, free: 5.477 MB / 0.9356 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.00241/1.09, allocations: 1.4 MB / 1.187 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.09, allocations: 12.03 kB / 1.187 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/1.091, allocations: 186.5 kB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/1.092, allocations: 0.7904 MB / 1.188 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/1.093, allocations: 41 kB / 1.188 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/1.093, allocations: 56 kB / 1.188 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/1.094, allocations: 0.6939 MB / 1.189 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.094, allocations: 0 / 1.189 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/1.094, allocations: 20 kB / 1.189 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/1.094, allocations: 15.98 kB / 1.189 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/1.095, allocations: 0.5229 MB / 1.189 GB, free: 1.633 MB / 0.9356 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.003761/1.098, allocations: 3.261 MB / 1.192 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/1.099, allocations: 399.6 kB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/1.099, allocations: 241.3 kB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/1.1, allocations: 190.2 kB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.1, allocations: 42.56 kB / 1.193 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/1.1, allocations: 0 / 1.193 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.005006/1.105, allocations: 1.486 MB / 1.195 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/1.105, allocations: 51.41 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.106, allocations: 1.065 MB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/1.106, allocations: 45.64 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/1.107, allocations: 444.4 kB / 1.196 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.107, allocations: 98.59 kB / 1.196 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/1.107, allocations: 69.61 kB / 1.196 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.107, allocations: 318 kB / 1.197 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/1.108, allocations: 160.7 kB / 1.197 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/1.108, allocations: 357.9 kB / 1.197 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/1.109, allocations: 395.4 kB / 1.198 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.109, allocations: 0 / 1.198 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002042/1.111, allocations: 0.8128 MB / 1.198 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.111, allocations: 4 kB / 1.198 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.111, allocations: 3.938 kB / 1.198 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/1.112, allocations: 349.8 kB / 1.199 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.112, allocations: 23.92 kB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/1.114, allocations: 1.022 MB / 1.2 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/1.114, allocations: 43.8 kB / 1.2 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/1.114, allocations: 12 kB / 1.2 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007115/1.115, allocations: 452 kB / 1.2 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005913/1.116, allocations: 317 kB / 1.201 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007039/1.116, allocations: 309.9 kB / 1.201 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/1.116, allocations: 0 / 1.201 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001334/1.118, allocations: 0.6021 MB / 1.201 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.118, allocations: 8 kB / 1.201 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/1.118, allocations: 0 / 1.201 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/1.118, allocations: 204.7 kB / 1.202 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/1.118, allocations: 19.92 kB / 1.202 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/1.122, allocations: 3.302 MB / 1.205 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/1.123, allocations: 44.25 kB / 1.205 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/1.123, allocations: 12 kB / 1.205 GB, free: 0.6875 MB / 0.9512 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.0001977/1.123, allocations: 196.2 kB / 1.205 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.124, allocations: 90.88 kB / 1.205 GB, free: 408 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.125, allocations: 0.7136 MB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.125, allocations: 4 kB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/1.125, allocations: 0 / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.125, allocations: 3.984 kB / 1.206 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/1.127, allocations: 1.507 MB / 1.207 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.127, allocations: 4 kB / 1.207 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.127, allocations: 15.98 kB / 1.207 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/1.128, allocations: 234.7 kB / 1.208 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/1.128, allocations: 11.94 kB / 1.208 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008627/1.129, allocations: 0.9738 MB / 1.209 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.129, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.13, allocations: 0.8054 MB / 1.209 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/1.13, allocations: 207.9 kB / 1.21 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.13, allocations: 8 kB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/1.131, allocations: 23.97 kB / 1.21 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/1.131, allocations: 23.86 kB / 1.21 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/1.131, allocations: 12 kB / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009752/1.132, allocations: 0.7669 MB / 1.21 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.132, allocations: 0 / 1.21 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001114/1.133, allocations: 399.4 kB / 1.211 GB, free: 10.51 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.000512/1.134, allocations: 171.1 kB / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001579/1.135, allocations: 0.7634 MB / 1.212 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.135, allocations: 4 kB / 1.212 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/1.136, allocations: 219 kB / 1.212 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.138, allocations: 471.6 kB / 1.212 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/1.14, allocations: 1.714 MB / 1.214 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/1.141, allocations: 1.184 MB / 1.215 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006606/1.142, allocations: 203.3 kB / 1.215 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/1.142, allocations: 55.44 kB / 1.215 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of SimCode: time 1.433e-06/1.142, allocations: 0 / 1.215 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.03491/1.177, allocations: 19.75 MB / 1.235 GB, free: 2.145 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches