Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0008833/0.0008833, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002022, allocations: 449.7 kB / 10.37 MB, free: 328 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.001116/0.001116, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002451, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1017/1.14, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.842/1.842, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5197/2.362, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.264e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.003651/0.003673, allocations: 0.8587 MB / 0.7302 GB, free: 3.66 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.003784, allocations: 47.72 kB / 0.7302 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.003832, allocations: 0.7656 kB / 0.7302 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.003866, allocations: 8.5 kB / 0.7302 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.812e-05/0.003924, allocations: 23.08 kB / 0.7303 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.674e-05/0.003971, allocations: 11.98 kB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.004091, allocations: 61.64 kB / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.004215, allocations: 36.73 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004319, allocations: 43.47 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.004373, allocations: 22.09 kB / 0.7304 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.004399, allocations: 4.5 kB / 0.7304 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.004408, allocations: 4.875 kB / 0.7304 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.004427, allocations: 11.94 kB / 0.7304 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.00446, allocations: 19.94 kB / 0.7305 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.004569, allocations: 45.16 kB / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.115e-05/0.00459, allocations: 0 / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.004592, allocations: 0 / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.19e-05/0.004613, allocations: 0 / 0.7305 GB, free: 3.352 MB / 0.698 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.0004642/0.005078, allocations: 289 kB / 0.7308 GB, free: 3.043 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.005119, allocations: 12.72 kB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.005156, allocations: 16.92 kB / 0.7308 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.005317, allocations: 131.3 kB / 0.7309 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005332, allocations: 8.375 kB / 0.7309 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.005373, allocations: 12.25 kB / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.005476, allocations: 77.97 kB / 0.731 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.005485, allocations: 1.25 kB / 0.731 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.005493, allocations: 4.375 kB / 0.731 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.0055, allocations: 4.375 kB / 0.731 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.417e-05/0.005534, allocations: 28.36 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.005901, allocations: 0.4983 MB / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.005963, allocations: 169.1 kB / 0.7317 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.005985, allocations: 84.12 kB / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.006003, allocations: 75.88 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.006038, allocations: 106.7 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.006039, allocations: 0 / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.427e-05/0.006093, allocations: 34.48 kB / 0.732 GB, free: 1.703 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.006142, allocations: 130.7 kB / 0.7321 GB, free: 1.562 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.006227, allocations: 149.3 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.006234, allocations: 25.7 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.006286, allocations: 129.6 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.006292, allocations: 0 / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.006318, allocations: 29.66 kB / 0.7324 GB, free: 1.211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.006447, allocations: 322.8 kB / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.006455, allocations: 4 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.006485, allocations: 51.8 kB / 0.7328 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.006541, allocations: 77.12 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006543, allocations: 0.5312 kB / 0.7329 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.271e-05/0.006626, allocations: 71.11 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.00664, allocations: 9.781 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006645, allocations: 0 / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.006657, allocations: 4 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.006708, allocations: 19.92 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006713, allocations: 4 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.006734, allocations: 13.16 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.006737, allocations: 0 / 0.733 GB, free: 0.5898 MB / 0.698 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 6.817e-05/0.006805, allocations: 189.1 kB / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.00684, allocations: 114.8 kB / 0.7333 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.006878, allocations: 116.8 kB / 0.7334 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/0.006928, allocations: 184.2 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.965e-05/0.006967, allocations: 180.2 kB / 0.7337 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-05/0.007005, allocations: 184.2 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.007127, allocations: 334 kB / 0.7342 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/0.00715, allocations: 105 kB / 0.7343 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.007175, allocations: 113.6 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.007208, allocations: 109.7 kB / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.75e-05/0.007245, allocations: 180.2 kB / 0.7347 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.007285, allocations: 185.8 kB / 0.7349 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.752e-05/0.007323, allocations: 180.3 kB / 0.7351 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.689e-05/0.00736, allocations: 180.4 kB / 0.7352 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.905e-05/0.007449, allocations: 315.8 kB / 0.7356 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.007493, allocations: 180.2 kB / 0.7357 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.007537, allocations: 105.5 kB / 0.7358 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.007579, allocations: 181.4 kB / 0.736 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.007604, allocations: 101 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.007627, allocations: 34.7 kB / 0.7361 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007627, allocations: 0.5625 kB / 0.7361 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001242/0.007751, allocations: 11.95 kB / 0.7361 GB, free: 13.2 MB / 0.7136 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 0.0001736/0.007925, allocations: 157 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.197e-05/0.007987, allocations: 31.47 kB / 0.7363 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.007991, allocations: 3.938 kB / 0.7363 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.007992, allocations: 0 / 0.7363 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.008183, allocations: 467.6 kB / 0.7368 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.008383, allocations: 224 kB / 0.737 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.008412, allocations: 63.27 kB / 0.737 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.008444, allocations: 8.719 kB / 0.737 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.008471, allocations: 51.38 kB / 0.7371 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.008472, allocations: 5.938 kB / 0.7371 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.001708/0.01018, allocations: 340.2 kB / 0.7374 GB, free: 11.84 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.955106602050364]