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.001628/0.001628, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.001862/0.001863, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.486/2.486, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 59.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9474/0.949, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.176/1.125, allocations: 161.6 MB / 1.325 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003263/1.128, allocations: 1.721 MB / 1.327 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005256/1.129, allocations: 11.84 kB / 1.327 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006996/1.13, allocations: 154.9 kB / 1.327 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/1.131, allocations: 0.538 MB / 1.327 GB, free: 15.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/1.133, allocations: 427.9 kB / 1.328 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002705/1.135, allocations: 2.459 MB / 1.33 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/1.137, allocations: 0.9216 MB / 1.331 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/1.139, allocations: 0.9536 MB / 1.332 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/1.141, allocations: 0.7079 MB / 1.333 GB, free: 9.801 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/1.141, allocations: 56 kB / 1.333 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/1.143, allocations: 0.7484 MB / 1.334 GB, free: 8.996 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004935/1.143, allocations: 310.9 kB / 1.334 GB, free: 8.691 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/1.144, allocations: 0.5363 MB / 1.334 GB, free: 8.152 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/1.147, allocations: 1.411 MB / 1.336 GB, free: 6.738 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.147, allocations: 0 / 1.336 GB, free: 6.738 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.147, allocations: 0 / 1.336 GB, free: 6.738 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.919e-05/1.147, allocations: 0 / 1.336 GB, free: 6.738 MB / 1.061 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.00285/1.15, allocations: 1.4 MB / 1.337 GB, free: 5.281 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.15, allocations: 8.031 kB / 1.337 GB, free: 5.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007976/1.151, allocations: 182.5 kB / 1.337 GB, free: 5.094 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/1.152, allocations: 0.8451 MB / 1.338 GB, free: 4.203 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/1.152, allocations: 41 kB / 1.338 GB, free: 4.164 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/1.152, allocations: 56 kB / 1.338 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/1.153, allocations: 0.6939 MB / 1.339 GB, free: 3.402 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.153, allocations: 3.938 kB / 1.339 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/1.153, allocations: 20 kB / 1.339 GB, free: 3.379 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/1.153, allocations: 12 kB / 1.339 GB, free: 3.367 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008154/1.154, allocations: 0.5152 MB / 1.339 GB, free: 2.852 MB / 1.061 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.003527/1.158, allocations: 3.253 MB / 1.343 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/1.158, allocations: 390.2 kB / 1.343 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/1.159, allocations: 236.7 kB / 1.343 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/1.159, allocations: 198.2 kB / 1.343 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/1.159, allocations: 30.56 kB / 1.343 GB, free: 14.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/1.159, allocations: 0 / 1.343 GB, free: 14.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.004826/1.164, allocations: 1.485 MB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.164, allocations: 59.34 kB / 1.345 GB, free: 12.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/1.165, allocations: 1.065 MB / 1.346 GB, free: 11.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/1.165, allocations: 37.7 kB / 1.346 GB, free: 11.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/1.166, allocations: 444.4 kB / 1.346 GB, free: 11.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/1.166, allocations: 98.58 kB / 1.347 GB, free: 11.08 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/1.166, allocations: 69.61 kB / 1.347 GB, free: 11.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.166, allocations: 321.9 kB / 1.347 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/1.166, allocations: 164.7 kB / 1.347 GB, free: 10.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/1.167, allocations: 363.8 kB / 1.347 GB, free: 10.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/1.167, allocations: 385.5 kB / 1.348 GB, free: 9.711 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.167, allocations: 4 kB / 1.348 GB, free: 9.707 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00202/1.169, allocations: 0.8087 MB / 1.349 GB, free: 8.887 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.17, allocations: 7.938 kB / 1.349 GB, free: 8.879 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.17, allocations: 4 kB / 1.349 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/1.171, allocations: 354.6 kB / 1.349 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/1.171, allocations: 20.31 kB / 1.349 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009917/1.172, allocations: 1.002 MB / 1.35 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/1.173, allocations: 51.67 kB / 1.35 GB, free: 7.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/1.173, allocations: 20 kB / 1.35 GB, free: 7.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006037/1.173, allocations: 451.8 kB / 1.35 GB, free: 6.965 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003673/1.174, allocations: 308.5 kB / 1.351 GB, free: 6.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005004/1.174, allocations: 310.4 kB / 1.351 GB, free: 6.277 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/1.174, allocations: 4 kB / 1.351 GB, free: 6.273 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001321/1.176, allocations: 0.6021 MB / 1.352 GB, free: 5.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.176, allocations: 4 kB / 1.352 GB, free: 5.656 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/1.176, allocations: 0 / 1.352 GB, free: 5.656 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/1.176, allocations: 208.6 kB / 1.352 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.176, allocations: 15.94 kB / 1.352 GB, free: 5.434 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/1.181, allocations: 3.303 MB / 1.355 GB, free: 1.988 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/1.181, allocations: 44.38 kB / 1.355 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/1.181, allocations: 8 kB / 1.355 GB, free: 1.938 MB / 1.076 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.0001954/1.182, allocations: 196.3 kB / 1.355 GB, free: 1.738 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/1.182, allocations: 98.72 kB / 1.355 GB, free: 1.641 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.183, allocations: 0.7059 MB / 1.356 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/1.183, allocations: 4 kB / 1.356 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/1.183, allocations: 0 / 1.356 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.183, allocations: 3.984 kB / 1.356 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/1.186, allocations: 1.505 MB / 1.358 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.186, allocations: 4 kB / 1.358 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.186, allocations: 19.98 kB / 1.358 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/1.186, allocations: 232.7 kB / 1.358 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/1.186, allocations: 15.98 kB / 1.358 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008742/1.187, allocations: 0.9737 MB / 1.359 GB, free: 14.05 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.187, allocations: 11.91 kB / 1.359 GB, free: 14.04 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.189, allocations: 0.7872 MB / 1.36 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/1.189, allocations: 204 kB / 1.36 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/1.189, allocations: 15.98 kB / 1.36 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/1.19, allocations: 19.98 kB / 1.36 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/1.19, allocations: 23.91 kB / 1.36 GB, free: 12.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/1.19, allocations: 8 kB / 1.36 GB, free: 12.93 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00105/1.191, allocations: 0.7786 MB / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.191, allocations: 0 / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001157/1.192, allocations: 399.3 kB / 1.361 GB, free: 11.75 MB / 1.092 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.0004511/1.192, allocations: 180.4 kB / 1.361 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001521/1.194, allocations: 0.7497 MB / 1.362 GB, free: 10.81 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.194, allocations: 4 kB / 1.362 GB, free: 10.8 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/1.194, allocations: 215 kB / 1.362 GB, free: 10.59 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.196, allocations: 486.9 kB / 1.362 GB, free: 10.12 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/1.199, allocations: 1.743 MB / 1.364 GB, free: 8.324 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/1.2, allocations: 1.176 MB / 1.365 GB, free: 7.121 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.2, allocations: 55.42 kB / 1.365 GB, free: 7.066 MB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/1.2, allocations: 0 / 1.365 GB, free: 7.066 MB / 1.092 GB Notification: Performance of Templates: time 0.02893/1.229, allocations: 19.96 MB / 1.385 GB, free: 3.211 MB / 1.107 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches