Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.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.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") translateModel(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00777/0.00777, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001774/0.001774, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves): time 0.09464/1.226, allocations: 82.33 MB / 1.288 GB, free: 11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02534/1.252, allocations: 15.65 MB / 1.303 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004549/1.256, allocations: 79.62 kB / 1.303 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006002/1.262, allocations: 1.527 MB / 1.305 GB, free: 9.695 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/1.273, allocations: 3.051 MB / 1.308 GB, free: 6.633 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00699/1.28, allocations: 1.986 MB / 1.31 GB, free: 4.668 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01061/1.291, allocations: 5.508 MB / 1.315 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004384/1.295, allocations: 1.907 MB / 1.317 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00681/1.302, allocations: 2.047 MB / 1.319 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/1.306, allocations: 1.602 MB / 1.321 GB, free: 9.543 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0009865/1.307, allocations: 204 kB / 1.321 GB, free: 9.344 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006034/1.313, allocations: 1.841 MB / 1.323 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00146/1.315, allocations: 0.802 MB / 1.323 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004037/1.319, allocations: 1.484 MB / 1.325 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.329, allocations: 4.539 MB / 1.329 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/1.329, allocations: 0 / 1.329 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/1.329, allocations: 0 / 1.329 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000176/1.329, allocations: 0 / 1.329 GB, free: 0.6523 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.008206/1.337, allocations: 3.514 MB / 1.333 GB, free: 13.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.337, allocations: 15.97 kB / 1.333 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008539/1.338, allocations: 333 kB / 1.333 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/1.342, allocations: 2.651 MB / 1.336 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/1.343, allocations: 98.58 kB / 1.336 GB, free: 9.895 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/1.343, allocations: 136 kB / 1.336 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/1.345, allocations: 1.393 MB / 1.337 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/1.345, allocations: 3.984 kB / 1.337 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.345, allocations: 60 kB / 1.337 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/1.345, allocations: 32 kB / 1.337 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/1.347, allocations: 0.9933 MB / 1.338 GB, free: 7.199 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.00936/1.356, allocations: 6.847 MB / 1.345 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009658/1.357, allocations: 475.7 kB / 1.345 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/1.358, allocations: 290.5 kB / 1.346 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/1.359, allocations: 1.077 MB / 1.347 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/1.359, allocations: 51.12 kB / 1.347 GB, free: 13.9 MB / 1.076 GB Notification: Performance of pre-optimization done (n=58): time 3.777e-06/1.359, allocations: 0 / 1.347 GB, free: 13.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=58): time 0.003635/1.362, allocations: 1.485 MB / 1.348 GB, free: 12.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.363, allocations: 55.97 kB / 1.348 GB, free: 12.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005449/1.368, allocations: 3.857 MB / 1.352 GB, free: 8.414 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001951/1.368, allocations: 41.64 kB / 1.352 GB, free: 8.367 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.369, allocations: 1.285 MB / 1.353 GB, free: 7.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/1.37, allocations: 213 kB / 1.354 GB, free: 6.859 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/1.37, allocations: 190.5 kB / 1.354 GB, free: 6.664 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.37, allocations: 337.9 kB / 1.354 GB, free: 6.328 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005397/1.371, allocations: 276.7 kB / 1.354 GB, free: 6.055 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/1.371, allocations: 0.5642 MB / 1.355 GB, free: 5.371 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.373, allocations: 0.7503 MB / 1.356 GB, free: 4.539 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.373, allocations: 0 / 1.356 GB, free: 4.539 MB / 1.076 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002553/1.375, allocations: 1.165 MB / 1.357 GB, free: 3.355 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.375, allocations: 16.11 kB / 1.357 GB, free: 3.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.375, allocations: 7.938 kB / 1.357 GB, free: 3.332 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/1.376, allocations: 202.4 kB / 1.357 GB, free: 3.125 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/1.376, allocations: 167.7 kB / 1.357 GB, free: 2.961 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/1.378, allocations: 1.911 MB / 1.359 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.38, allocations: 146.9 kB / 1.359 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/1.38, allocations: 39.98 kB / 1.359 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00152/1.381, allocations: 0.8572 MB / 1.36 GB, free: 15.93 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007172/1.382, allocations: 0.5554 MB / 1.361 GB, free: 15.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001088/1.383, allocations: 0.7464 MB / 1.361 GB, free: 14.42 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/1.383, allocations: 0 / 1.361 GB, free: 14.42 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002449/1.386, allocations: 1.161 MB / 1.362 GB, free: 13.24 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.386, allocations: 12.16 kB / 1.362 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.386, allocations: 8 kB / 1.362 GB, free: 13.22 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/1.386, allocations: 210.4 kB / 1.363 GB, free: 13 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/1.387, allocations: 155.8 kB / 1.363 GB, free: 12.85 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/1.388, allocations: 1.911 MB / 1.365 GB, free: 10.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.39, allocations: 111.5 kB / 1.365 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/1.39, allocations: 39.98 kB / 1.365 GB, free: 10.71 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003496/1.391, allocations: 236.5 kB / 1.365 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/1.391, allocations: 272.6 kB / 1.365 GB, free: 10.21 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/1.393, allocations: 1.104 MB / 1.366 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.393, allocations: 8 kB / 1.366 GB, free: 9.059 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.393, allocations: 4 kB / 1.366 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001313/1.395, allocations: 0.9722 MB / 1.367 GB, free: 7.988 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/1.4, allocations: 2.878 MB / 1.37 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.4, allocations: 4 kB / 1.37 GB, free: 5.012 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/1.4, allocations: 63.89 kB / 1.37 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/1.401, allocations: 202.7 kB / 1.37 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/1.401, allocations: 19.92 kB / 1.37 GB, free: 4.723 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/1.402, allocations: 1.907 MB / 1.372 GB, free: 2.738 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.402, allocations: 80 / 1.372 GB, free: 2.738 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/1.404, allocations: 1.06 MB / 1.373 GB, free: 1.621 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009979/1.405, allocations: 0.5246 MB / 1.374 GB, free: 1.074 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/1.405, allocations: 16 kB / 1.374 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/1.406, allocations: 59.91 kB / 1.374 GB, free: 1 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/1.407, allocations: 32.39 kB / 1.374 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/1.407, allocations: 31.97 kB / 1.374 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003961/1.411, allocations: 2.823 MB / 1.377 GB, free: 14.12 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/1.411, allocations: 4 kB / 1.377 GB, free: 14.11 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003312/1.414, allocations: 1.115 MB / 1.378 GB, free: 13 MB / 1.107 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 (39): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002062/1.416, allocations: 0.8178 MB / 1.379 GB, free: 12.32 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002816/1.419, allocations: 1.165 MB / 1.38 GB, free: 11.16 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.419, allocations: 0 / 1.38 GB, free: 11.16 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007346/1.42, allocations: 343.5 kB / 1.38 GB, free: 10.82 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006732/1.426, allocations: 1.118 MB / 1.381 GB, free: 9.727 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/1.437, allocations: 4.384 MB / 1.386 GB, free: 5.293 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/1.439, allocations: 1.72 MB / 1.387 GB, free: 3.539 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002231/1.441, allocations: 492.4 kB / 1.388 GB, free: 3.059 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/1.441, allocations: 179.3 kB / 1.388 GB, free: 2.883 MB / 1.107 GB Notification: Performance of SimCode: time 1.173e-06/1.441, allocations: 0 / 1.388 GB, free: 2.883 MB / 1.107 GB Notification: Performance of Templates: time 0.08745/1.529, allocations: 45.97 MB / 1.433 GB, free: 5.434 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Boilers_Validation_BoilerTableEfficiencyCurves.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches