Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.0007698/0.0007698, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001806, 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.0007023/0.0007023, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009625/0.001665, 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 1.016/1.016, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09716/1.113, allocations: 53.66 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.281/2.281, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2369/2.518, allocations: 146 MB / 0.8176 GB, free: 3.824 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.636e-06/9.668e-06, allocations: 2.312 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001205/0.001215, allocations: 0.8648 MB / 0.8198 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 7.356e-05/0.001288, allocations: 47.78 kB / 0.8198 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.001319, allocations: 4 kB / 0.8198 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.001342, allocations: 11.86 kB / 0.8198 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.001377, allocations: 15.8 kB / 0.8199 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.82e-05/0.001405, allocations: 15.98 kB / 0.8199 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.001478, allocations: 63.84 kB / 0.8199 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.00155, allocations: 27.92 kB / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.00162, allocations: 63.75 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.86e-05/0.001648, allocations: 11.92 kB / 0.82 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.001664, allocations: 8 kB / 0.82 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-06/0.001671, allocations: 4 kB / 0.82 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.001685, allocations: 11.94 kB / 0.8201 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.001702, allocations: 11.94 kB / 0.8201 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.848e-05/0.00177, allocations: 39.78 kB / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.00178, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.22e-07/0.001781, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.001792, allocations: 0 / 0.8201 GB, free: 1.27 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.0002883/0.00208, allocations: 296.3 kB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.002106, allocations: 8.031 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.002133, allocations: 12.94 kB / 0.8204 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.002254, allocations: 141.5 kB / 0.8205 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.002263, allocations: 8.281 kB / 0.8206 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.002276, allocations: 8.375 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.002355, allocations: 75.94 kB / 0.8206 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.002362, allocations: 192 / 0.8206 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.002367, allocations: 4.375 kB / 0.8206 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.002372, allocations: 384 / 0.8206 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.002398, allocations: 31.84 kB / 0.8207 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.002686, allocations: 0.501 MB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.801e-05/0.002754, allocations: 173.3 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.002776, allocations: 80.14 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.002794, allocations: 79.28 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.002824, allocations: 105.8 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.002825, allocations: 0 / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.858e-05/0.002873, allocations: 33.69 kB / 0.8216 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.002911, allocations: 126.7 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.002988, allocations: 145.5 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.002995, allocations: 29.7 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.003037, allocations: 123.8 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.003039, allocations: 4 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.003063, allocations: 29.59 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.003137, allocations: 322.8 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-06/0.003144, allocations: 4 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.003173, allocations: 58.84 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.003221, allocations: 70.73 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.003224, allocations: 4 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.437e-05/0.003298, allocations: 73.48 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.003309, allocations: 4 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.003313, allocations: 4.25 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.003325, allocations: 4 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.003364, allocations: 19.98 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.003368, allocations: 160 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.00339, allocations: 11.88 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.003396, allocations: 7.984 kB / 0.8226 GB, free: 14.48 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 5.661e-05/0.003453, allocations: 193.1 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.003485, allocations: 113 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.003518, allocations: 112.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/0.003555, allocations: 184.2 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-05/0.003595, allocations: 188.2 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-05/0.003634, allocations: 188.2 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.003755, allocations: 329.4 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/0.003781, allocations: 108.9 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.003803, allocations: 105 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.003836, allocations: 108.9 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.851e-05/0.003875, allocations: 180.2 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.003913, allocations: 180.2 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.255e-05/0.003956, allocations: 188.2 kB / 0.8247 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.699e-05/0.003993, allocations: 176.3 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/0.004085, allocations: 311.7 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.004128, allocations: 180.3 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.004173, allocations: 104.9 kB / 0.8254 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.004216, allocations: 184.2 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.004239, allocations: 105 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.004262, allocations: 31.05 kB / 0.8257 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004263, allocations: 4 kB / 0.8257 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001202/0.004383, allocations: 11.89 kB / 0.8257 GB, free: 11.09 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 7.35e-05/0.004456, allocations: 155.7 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.76e-05/0.004514, allocations: 36.95 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.004518, allocations: 4 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.00452, allocations: 0 / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.004713, allocations: 479.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.0001859/0.004899, allocations: 230.6 kB / 0.8266 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.004931, allocations: 59.34 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.00496, allocations: 9.297 kB / 0.8267 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.004997, allocations: 55.38 kB / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of SimCode: time 3.41e-07/0.004997, allocations: 0 / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.001464/0.006461, allocations: 251.4 kB / 0.827 GB, free: 9.773 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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: 4.975962066091597]