Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 109.5 kB / 15.99 MB, free: 5.914 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.001444/0.001444, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.359/1.359, 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.576/2.576, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 70.42 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.305, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.7254/1.03, allocations: 238.9 MB / 1.297 GB, free: 9.898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0187/1.049, allocations: 13.45 MB / 1.311 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/1.051, allocations: 51.62 kB / 1.311 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002597/1.054, allocations: 0.851 MB / 1.311 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/1.059, allocations: 1.688 MB / 1.313 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/1.062, allocations: 1.12 MB / 1.314 GB, free: 8.699 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005055/1.067, allocations: 3.312 MB / 1.317 GB, free: 5.383 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/1.069, allocations: 1.016 MB / 1.318 GB, free: 4.348 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/1.079, allocations: 4.04 MB / 1.322 GB, free: 300 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/1.082, allocations: 0.9607 MB / 1.323 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002391/1.082, allocations: 80 kB / 1.323 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/1.084, allocations: 1.079 MB / 1.324 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/1.085, allocations: 446.6 kB / 1.325 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008877/1.085, allocations: 0.6878 MB / 1.326 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/1.087, allocations: 1.193 MB / 1.327 GB, free: 11.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.087, allocations: 7.938 kB / 1.327 GB, free: 11.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/1.087, allocations: 0 / 1.327 GB, free: 11.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.795e-05/1.087, allocations: 0 / 1.327 GB, free: 11.84 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002369/1.089, allocations: 1.635 MB / 1.328 GB, free: 10.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.09, allocations: 12.62 kB / 1.328 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/1.09, allocations: 202.2 kB / 1.329 GB, free: 9.934 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.092, allocations: 0.8386 MB / 1.329 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/1.092, allocations: 125.4 kB / 1.329 GB, free: 8.906 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.092, allocations: 80.88 kB / 1.33 GB, free: 8.828 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.093, allocations: 0.9376 MB / 1.33 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/1.093, allocations: 4 kB / 1.33 GB, free: 7.793 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/1.093, allocations: 32 kB / 1.331 GB, free: 7.762 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/1.093, allocations: 24 kB / 1.331 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/1.094, allocations: 0.5188 MB / 1.331 GB, free: 7.223 MB / 1.045 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.005434/1.1, allocations: 4.9 MB / 1.336 GB, free: 2.012 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/1.1, allocations: 440.5 kB / 1.336 GB, free: 1.453 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/1.101, allocations: 284 kB / 1.337 GB, free: 1.133 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/1.101, allocations: 105 kB / 1.337 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.101, allocations: 54.5 kB / 1.337 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/1.101, allocations: 0 / 1.337 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.002406/1.104, allocations: 0.8787 MB / 1.338 GB, free: 24 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002341/1.104, allocations: 397.5 kB / 1.338 GB, free: 15.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.105, allocations: 1.239 MB / 1.339 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/1.106, allocations: 37.7 kB / 1.339 GB, free: 14.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/1.106, allocations: 0.5342 MB / 1.34 GB, free: 13.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.106, allocations: 126.1 kB / 1.34 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/1.106, allocations: 81.69 kB / 1.34 GB, free: 13.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.106, allocations: 322 kB / 1.34 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/1.107, allocations: 104.5 kB / 1.34 GB, free: 13.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/1.107, allocations: 350.4 kB / 1.341 GB, free: 12.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/1.108, allocations: 348.5 kB / 1.341 GB, free: 12.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.108, allocations: 0 / 1.341 GB, free: 12.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001327/1.109, allocations: 0.565 MB / 1.341 GB, free: 11.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.109, allocations: 8 kB / 1.342 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.109, allocations: 7.938 kB / 1.342 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/1.11, allocations: 126.2 kB / 1.342 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/1.11, allocations: 89.36 kB / 1.342 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/1.112, allocations: 2.316 MB / 1.344 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/1.113, allocations: 115 kB / 1.344 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/1.113, allocations: 24.06 kB / 1.344 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005433/1.113, allocations: 312 kB / 1.344 GB, free: 8.582 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004333/1.114, allocations: 337.8 kB / 1.345 GB, free: 8.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005075/1.114, allocations: 328.5 kB / 1.345 GB, free: 7.793 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.621e-06/1.114, allocations: 4 kB / 1.345 GB, free: 7.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001016/1.115, allocations: 0.5012 MB / 1.346 GB, free: 7.273 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.115, allocations: 10.34 kB / 1.346 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.115, allocations: 8.328 kB / 1.346 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/1.116, allocations: 77.61 kB / 1.346 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.116, allocations: 67.89 kB / 1.346 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/1.119, allocations: 3.259 MB / 1.349 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000829/1.12, allocations: 79.66 kB / 1.349 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/1.12, allocations: 24.06 kB / 1.349 GB, free: 3.473 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002457/1.12, allocations: 216.1 kB / 1.349 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/1.12, allocations: 134.4 kB / 1.349 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009387/1.121, allocations: 444.5 kB / 1.35 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.121, allocations: 8 kB / 1.35 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.121, allocations: 4 kB / 1.35 GB, free: 2.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.121, allocations: 4 kB / 1.35 GB, free: 2.648 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/1.125, allocations: 2.549 MB / 1.352 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.125, allocations: 4 kB / 1.352 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.125, allocations: 75.88 kB / 1.352 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/1.125, allocations: 82.08 kB / 1.352 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/1.125, allocations: 16 kB / 1.352 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/1.127, allocations: 2.304 MB / 1.355 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/1.127, allocations: 4 kB / 1.355 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.128, allocations: 0.7873 MB / 1.355 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/1.128, allocations: 247.4 kB / 1.356 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.128, allocations: 11.94 kB / 1.356 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/1.129, allocations: 63.78 kB / 1.356 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/1.129, allocations: 39.94 kB / 1.356 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/1.129, allocations: 27.92 kB / 1.356 GB, free: 12.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001167/1.13, allocations: 0.8605 MB / 1.357 GB, free: 11.24 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.13, allocations: 0 / 1.357 GB, free: 11.24 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001411/1.132, allocations: 447.5 kB / 1.357 GB, free: 10.8 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005437/1.132, allocations: 234.4 kB / 1.357 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001809/1.134, allocations: 0.7483 MB / 1.358 GB, free: 9.801 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.134, allocations: 4 kB / 1.358 GB, free: 9.797 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/1.135, allocations: 196.9 kB / 1.358 GB, free: 9.605 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/1.138, allocations: 0.7505 MB / 1.359 GB, free: 8.871 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/1.141, allocations: 2.228 MB / 1.361 GB, free: 6.539 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/1.142, allocations: 1.131 MB / 1.362 GB, free: 5.379 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/1.142, allocations: 75.44 kB / 1.362 GB, free: 5.305 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/1.142, allocations: 0 / 1.362 GB, free: 5.305 MB / 1.076 GB Notification: Performance of Templates: time 0.04611/1.188, allocations: 36.78 MB / 1.398 GB, free: 0.6797 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches