Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007426/0.0007426, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001822, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007148/0.0007148, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009007/0.001616, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9881/0.9881, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08286/1.071, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.338/2.338, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.252/2.59, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.436e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001547/0.001562, allocations: 0.8654 MB / 0.8198 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 9.204e-05/0.001654, allocations: 55.72 kB / 0.8198 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.001694, allocations: 4 kB / 0.8198 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.001723, allocations: 7.875 kB / 0.8199 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.001765, allocations: 7.938 kB / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.798e-05/0.001803, allocations: 19.97 kB / 0.8199 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.001894, allocations: 59.8 kB / 0.8199 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.001992, allocations: 35.91 kB / 0.82 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.002078, allocations: 51.77 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.002119, allocations: 19.91 kB / 0.82 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.002139, allocations: 8 kB / 0.82 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.002147, allocations: 8 kB / 0.8201 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.002167, allocations: 11.94 kB / 0.8201 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.00219, allocations: 11.94 kB / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.747e-05/0.002277, allocations: 35.8 kB / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.002289, allocations: 0 / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4e-07/0.002289, allocations: 0 / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.002301, allocations: 0 / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003481/0.002649, allocations: 296.3 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.00268, allocations: 8.031 kB / 0.8204 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.002716, allocations: 20.88 kB / 0.8204 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.002845, allocations: 125.7 kB / 0.8205 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.002858, allocations: 12.28 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.00287, allocations: 4.375 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.845e-05/0.002968, allocations: 83.86 kB / 0.8206 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.002975, allocations: 192 / 0.8206 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.002984, allocations: 8.375 kB / 0.8206 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.00299, allocations: 4.312 kB / 0.8206 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.003022, allocations: 19.92 kB / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.0064, allocations: 0.501 MB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.006477, allocations: 173.3 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.0065, allocations: 80.14 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.00652, allocations: 75.28 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.006559, allocations: 109.8 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.914e-06/0.006561, allocations: 3.984 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.995e-05/0.00662, allocations: 37.69 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.006664, allocations: 134.6 kB / 0.8217 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.425e-05/0.006758, allocations: 138.6 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.006767, allocations: 25.7 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.006821, allocations: 123.8 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.006826, allocations: 7.984 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.006859, allocations: 29.66 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.006941, allocations: 322.8 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.006949, allocations: 7.984 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.006983, allocations: 46.88 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.007048, allocations: 78.72 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.007051, allocations: 4 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.896e-05/0.00715, allocations: 69.48 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007163, allocations: 5.875 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.007169, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007181, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.007236, allocations: 20.23 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.00724, allocations: 4.156 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.007274, allocations: 15.88 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.00728, allocations: 7.984 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/0.007352, allocations: 189.1 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.007399, allocations: 113 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.007442, allocations: 116.8 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-05/0.007487, allocations: 180.3 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-05/0.007531, allocations: 184.2 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.55e-05/0.007576, allocations: 180.2 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.007736, allocations: 333.4 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/0.007764, allocations: 116.9 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.00779, allocations: 101 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.007832, allocations: 116.9 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-05/0.007879, allocations: 180.3 kB / 0.8243 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.007925, allocations: 180.2 kB / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.693e-05/0.007972, allocations: 180.2 kB / 0.8247 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.372e-05/0.008016, allocations: 180.3 kB / 0.8249 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.008121, allocations: 315.7 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.008176, allocations: 176.3 kB / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.008241, allocations: 104.9 kB / 0.8254 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.00829, allocations: 184.3 kB / 0.8256 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.008318, allocations: 104.9 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.008351, allocations: 31.05 kB / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008351, allocations: 0 / 0.8257 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001879/0.008539, allocations: 15.95 kB / 0.8257 GB, free: 11.08 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.8e-05/0.008627, allocations: 155.7 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.421e-05/0.008691, allocations: 29.38 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.008697, allocations: 4 kB / 0.8259 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.008699, allocations: 4.094 kB / 0.8259 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.00894, allocations: 475.6 kB / 0.8264 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.01219, allocations: 236.1 kB / 0.8266 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.01223, allocations: 59.34 kB / 0.8267 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.01226, allocations: 4.734 kB / 0.8267 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.01229, allocations: 55.38 kB / 0.8267 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of SimCode: time 4.01e-07/0.01229, allocations: 0 / 0.8267 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.001805/0.0141, allocations: 277.4 kB / 0.827 GB, free: 9.742 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.062013038434088]